 During the Fifteen Years' War (1591-1606) the building was taken away from Christians and was later known as a Muslim place of worship known as Fetih (Victory) and Saat (Time).The church was owned by the Franciscans between 1698-1786 and was used for archival material.After a decree of Joseph II, Holy Roman Emperor in 1786, which finished the Franciscan order ownership, the church during many years was used for the preservation of archival material, and in 1792 was crowned here Francis II, Holy Roman Emperor (then was built a lobby in Zopf style, with covered driveways).