Church of St. Marcin was built in 1380 from the foundation of Marek Żegota, a Cracow canon and custodian of the Sandomierz collegiate church, then the owner of Gnojnik. The consecration of the building was made two years later by the Cracow bishop Jan Radlica. In the years 1575-1617, the church was converted into an Arian congregation, and after being restored by Catholics, renovated in 1633. In 1657, the temple was ravaged, as a result of the invasion of the Transylvanian army. In 1900, it was partially transformed in the neo-gothic style, when a new tower was added to the place of a wooden one, the roofs were rebuilt and the ridge turret was built for a bell. In 1963, a brick porch was added in place of a wooden one from the south.
The church was built of stone as a single-nave structure. In the Middle Ages, it consisted of a square nave, a low annex with a porch in the ground floor on the west side (unless it had a wooden superstructure, it did not have the form of a tower yet) and a chancel closed on three sides in the east with a rectangular sacristy on the north.
Outside, the church had stepped buttresses and a stone pedestal. The buttresses were placed most densely at the presbytery due to the vaults placed inside, but also three buttresses strengthened the nave, and two corner, diagonally situated buttresses, were placed at the low tower. Numerous loopholes were pierced in the walls of the church. The entrance was located in the southern wall of the nave, in a pointed arch portal from around 1380, framed by pinnacles and decorated with tracery.
Inside, in the presbytery, a gothic cross-rib vault in the rectangular western bay was built with ribs transforming into a wall-shafts, and a six-section vault in the polygonal bay of the eastern closure were established. Timber flat ceiling was installed in the nave.
Krasnowolski B., Leksykon zabytków architektury Małopolski, Warszawa 2013.
Krupiński A., Zabytki urbanistyki i architektury województwa tarnowskiego, Kraków 1989.