and Matthias Corvinus of Hungary met in the nearby village of Muchobór Wielki (present-day a district of Wrocław), and in December 1474 a ceasefire was signed according to which the city remained under Hungarian rule. The following year was marked by the publication in Wrocław of the Statuta Synodalia Episcoporum Wratislaviensium (1475) by Kasper Elyan, the first ever Incunable in Polish, containing the proceedings and prayers of the Wrocław bishops. Renaissance and the Reformation In the 16th century, the Breslauer Schöps beer style was created in Breslau. The Protestant Reformation reached the city in 1518 and it converted to the new rite. However, starting in 1526 Silesia was ruled by the Catholic House of Habsburg. In 1618, it supported the Bohemian Revolt out of fear of losing the right to religious freedom. During the ensuing Thirty Years' War, the city was occupied by Saxon and Swedish troops and lost thousands of inhabitants to the plague. The Emperor brought in the Counter-Reformation by encouraging Catholic orders to settle in the city, starting in 1610 with the Franciscans, followed by the Jesuits, then Capuchins, and finally Ursuline nuns in 1687. These orders erected buildings that shaped the city's appearance until 1945. At the end of the Thirty Years' War, however, it was one of only a few Silesian cities to stay Protestant. The Polish Municipal school opened in 1666 and lasted until 1766. Precise record-keeping of births and deaths by the city fathers led to the use of their data for analysis of mortality, first by John Graunt and then, based on data provided to him by Breslau professor Caspar Neumann, by Edmond Halley. Halley's tables and analysis, published in 1693, are considered to be the first true actuarial tables, and thus the foundation of modern actuarial science. During the Counter-Reformation, the intellectual life of the city flourished, as the Protestant bourgeoisie lost some of its dominance to the Catholic orders as patrons of the arts. Enlightenment period The city became the centre of German Baroque literature and was home to the First and Second Silesian school of poets. In the 1740s the Kingdom of Prussia annexed the city and most of Silesia during the War of the Austrian Succession. Habsburg Empress Maria Theresa ceded most of the territory in the Treaty of Breslau in 1742 to Prussia. Austria attempted to recover Silesia during the Seven Years' War at the Battle of