 It was intended as a monastery church, which explains the large plot of land on which it stands, and the presence of a monastic cemetery next to it.In 1404 King Władysław II Jagiełło gave it to the Canons Regular of the Lateran, a congregation which he had brought in from Kłodzko.The interior of the church is a mixture of Polish Gothic and impressive Polish Baroque architecture with structural features such as a large gilded Baroque high altar, a boat-shaped pulpit (1750), and the organ.