The Collegiate Church of St. Florian was built between 1185 and 1216. It was burnt down many times in the 12th, 16th and 17th centuries. Notably, during the Swedish siege of Kraków, General Stefan Czarniecki ordered the city's suburbs burned down. However, during the city-wide fire which consumed a considerable part of Kraków in 1528, the church – containing St. Florian's relics – survived. Since then St. Florian, usually portrayed as a Roman legion officer carrying water, has been revered in Poland as patron saint of firefighters and chimneysweeps. The church's present appearance is the result of a Baroque renovation after the Polish-Swedish wars.
Since the 16th century the Church has been the University Collegiate. The coronation route began there, with the rector of the university senate welcoming new kings. The Church was also the starting point for royal funeral processions to Wawel Cathedral.
In 1667 the remains of Queen Ludwika Maria Gonzaga, wife of King Jan II Kazimierz, were placed there temporarily, and in 1818 the remains of Tadeusz Kościuszko were placed there. From 17 September 1949 to September 1951, Father Karol Wojtyła, who later became Pope John Paul II, worked there as a vicar. As Pope, in 1999 he elevated the Church to a minor basilica.
References:The first written record of church in Danmark locality date back to the year 1291. Close to the church are several stones with a Christian text and cross inscribed. The oldest parts of the present red-brick church are from the 1300s. In the late 1400s the church was enlarged to the appearance it has today. The church has been modified both internally and externally several times, among other things after the fires in 1699 and 1889. There are lot of well-preserved mural paintings in the walls.