St. Thomas Church is associated with a number of well-known composers such as Richard Wagner and Felix Mendelssohn Bartholdy, but mostly with Johann Sebastian Bach who worked here as a Kapellmeister (music director) from 1723 until his death in 1750. Today, the church also holds his remains. Martin Luther preached here in 1539.
There has been a church at the current site of the Thomaskirche at least since the 12th century. Foundations of a Romanesque building have been discovered in the choir and crossing of the current church. Between 1212 and 1222 the earlier structure became the church of the new St. Thomas Monastery (Stift) of the Augustinian order.
The current building was consecrated by Thilo of Trotha, the Bishop of Merseburg, on 10 April 1496. The reformer Martin Luther preached here on Pentecost Sunday in 1539. The monastic buildings were demolished in 1541 following the monastery's dissolution. The current church tower was first built in 1537 and rebuilt in 1702. Chapels added in the 17th century and an ante-building along the northern front of the nave with two stairways were removed at the end of the 19th century.
References:Visby Cathedral (also known as St. Mary’s Church) is the only survived medieval church in Visby. It was originally built for German merchants and inaugurated in 1225. Around the year 1350 the church was enlarged and converted into a basilica. The two-storey magazine was also added then above the nave as a warehouse for merchants.
Following the Reformation, the church was transformed into a parish church for the town of Visby. All other churches were abandoned. Shortly after the Reformation, in 1572, Gotland was made into its own Diocese, and the church designated its cathedral.
There is not much left of the original interior. The font is made of local red marble in the 13th century. The pulpit was made in Lübeck in 1684. There are 400 graves under the church floor.