The church was burned during Rákóczi's War of Independence (1703-1711), and its current appearance dates to the reign of Maria Theresa or Joseph II. The lateral porticoes are from 1791, while the nave ceiling and tower extension were finished in 1803. The church again went up in flames during the 1848 Revolution; repairs lasted until 1851. The last grand renovation took place in 1927-1930.