St. Gregory’s church founded in 1417 the Cracow’s stolnik, Wierzbięta from Branice. It was built on the site of an earlier romanesque temple from the 13th century. From its beginning until the middle of the eighteenth century, the church was a collegiate church, that is a non-cathedral church with a chapter electing a bishops. In 1925, a new, second vestry was added and the windows of the aisle were remodeled, partially obliterating their pointed, gothic form.
The church is brick-built, consists of a two-nave corpus, a western tower and a chancel ended by a straight wall. The gothic sacristy adjoins from the north. The presbytery is double-span and covered with a rib vault. In the church there are old polish epigraphs, of which the most valuable is the stone tombstone from 1425 with the picture of Wierzbięta from Branice in armor.
Krasnowolski B., Leksykon zabytków architektury Małopolski, Warszawa 2013.