The present church became in the 15th century from the principles of the 12th-century Romanesque parts as an addition.
The collegiate church (since 1819 it has been a Roman Catholic church) was founded at the end of the 12th century and was founded by Skarbimir of the Awdaniec coat of arms - so true tradition, and according to Jan Długosz, a well-known chronicler, the church was a gift from the bishops of Krakow. In 1241 it was destroyed by the Tartar invasion. After rebuilding, it served the parishioners for years, but, affected by time, it fell into disrepair, and therefore in the 15th-century, a decision was made to put a new one in place of the old one. Thanks to the faithful, the church was built.
The three-nave church has a central nave twice as high as the side aisles. The aisles of the church are the work of a 17th-century craftsman. The main altar, which has survived to this day, comes from 1908 and was created on the exact model of the one from 1626, burnt two years earlier. The marble baptismal font dates from the beginning of the 18th century. There is a sculpture of St. John the Baptist. On both sides of the presbytery, from the early baroque of the mid-seventeenth century. Eight side altars and many reliquaries, e.g. this st. Tekla from 1773 or Chalice from 1604.
The Lesser Poland Way of St. James runs through the church of st. John the Baptist, its route leads from Sandomierz to Tyniec. It is a mirror image of a similar medieval road to Santiago de Compostela.