St. Mary's Basilica in Cracow's Main Market Square is a Gothic church, built in the 13th century.
The church has an hourly bugler, the Hejnal player. This tradition dates back to the 13th century and is based on the legend of the original Hejnal player, who was said to have spied an invading force of Mongols from the church tower. He raised the alarm by playing the Hejnal Hymn, a five-note melody repeated four times. While his heroic effort saved the city from invasion, the man lost his life, shot through the throat by a Mongol archer in mid-alarm. For this reason, to this day the Hejnal Hymn is interrupted mid-song, honoring the city's hero.