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 Breslau, but they were unsuccessful. The Venetian Italian adventurer, Giacomo Casanova, stayed in Breslau in 1766.