According to chroniclers, it was built in 1183 during the reign of Boleslaw I the Tall, prince of the Piast dynasty. The interior can boast rich sculptural and stucco decor.