The wooden parish church was built in the 13th century, just after the foundation of the city. The present presbytery was erected around 1337, and a not very large nave was added in 1360. The temple was founded from the foundation of king Casimir the Great. It suffered damage as a result of a fire from the end of the 15th century and a Swedish invasion in the middle of the 17th century. The church was renovated in 1721-1723 and in the years 1955-1959.
The church is a brick building consisting of a short nave and a narrower presbytery. Inside, there are fragments of medieval frescoes from the late fourteenth century, preserved in the presbytery. In the nave there are paintings from the beginning of the sixteenth century.