Matthias Church (Hungarian: Matyas-templom) is a Roman Catholic church located in Budapest, Hungary, in front of the Fisherman's Bastion at the heart of Buda's Castle District. According to church tradition, it was originally built in Romanesque style in 1015. The current building was constructed in the florid late Gothic style in the second half of the 14th century and was extensively restored in the late 19th century. It was the second largest church of medieval Buda and the seventh largest church of medieval Hungarian Kingdom.
Officially named as the Church of Our Lady, it has been popularly named after King Matthias, who ordered the transformation of its original southern tower. The church was the scene of several coronations, including that of Charles IV in 1916 (the last Habsburg king). It was also the site for King Matthias's two weddings (the first to Catherine of Podebrady and, after her death, to Beatrice of Naples). During the century and a half of Turkish occupation, the vast majority of its ecclesiastical treasures were shipped to Pressburg (present day Bratislava) and following the capture of Buda in 1541 the church became the city's main mosque. Ornate frescoes that previously adorned the walls of the building were whitewashed and interior furnishings stripped out.
The church was also a place of the so-called Mary-wonder. In 1686 during the siege of Buda by the Holy League a wall of the church collapsed due to cannon fire. It turned out that an old votive Madonna statue was hidden behind the wall. As the sculpture of the Virgin Mary appeared before the praying Muslims, the morale of the garrison collapsed and the city fell on the same day.
Although following Turkish expulsion in 1686 an attempt was made to restore the church in the Baroque style, historical evidence shows that the work was largely unsatisfactory. It was not until the great architectural boom towards the end of the 19th century that the building regained much of its former splendour. The architect responsible for this work was Frigyes Schulek.
The church was restored to its original 13th century plan but a number of early original Gothic elements were uncovered. By also adding new motifs of his own (such as the diamond pattern roof tiles and gargoyles laden spire) Schulek ensured that the work, when finished, would be highly controversial.
It is home to the Ecclesiastical Art museum which begins in the medieval crypt and leads up to the St. Stephen Chapel. The gallery contains a number of sacred relics and medieval stone carvings, along with replicas of the Hungarian royal crown and coronation jewels.