the Dutch Republic and Saxony, she failed to recapture Silesia: The Second Silesian War started with Frederick's invasion into Bohemia in 1744 and after the Prussian victory at the 1745 Battle of Kesselsdorf, by the Treaty of Dresden the status quo ante bellum was confirmed: Frederick kept Silesia but finally acknowledged the accession of Maria Theresa's husband, Emperor Francis I. The terms were again confirmed by the final Peace of Aix-la-Chapelle in 1748. Maria Theresa, still chafing under the loss of the most beautiful gem of my crown, took the opportunity of the breathing space to implement several civil and military reforms within the Austrian lands, like the establishment of the Theresian Military Academy at Wiener Neustadt in 1751. Her capable state chancellor, Prince Wenzel Anton of Kaunitz, succeeded in the Diplomatic Revolution of 1756, allying with the former Habsburg nemesis France under King Louis XV in order to isolate Prussia. Frederick, however, had completed the "stately quadrille" by the conclusion of the Treaty of Westminster with Great Britain. He again took action by a preemptive war, invading Saxony and opening a Third Silesian War (and the wider Seven Years' War). Nevertheless, the conquest of Prague failed and moreover, the king had to deal with Russian forces attacking East Prussia while Austrian troops entered Silesia. His situation worsened, when Austrian and Russian forces united to inflict a crushing defeat on him at the 1759 Battle of Kunersdorf. Frederick, on the brink, was saved by the discord among the victors in the "Miracle of the House of Brandenburg", when Empress Elizabeth of Russia died on 5 January 1762 and her successor Peter III concluded peace with Prussia. By the 1763 Treaty of Hubertusburg, Austria, for the third time, had to acknowledge the Prussian annexations. The usurper kingdom had prevailed against the European great powers and would play a vital future role in the "Concert of Europe". Austria and Prussia both would fight France in the Napoleonic Wars; after their conclusion, the German states were reorganized into a more unified 37 separate states of the German Confederation. German nationalists began to demand a unified Germany, especially by 1848 and its revolutions. They were conflicted over the best nation-state to accomplish this, a question that became known as the German question. The "Lesser Germany" (Kleindeutschland) solution favoured Protestant Prussia annexing all the German states except Austria, while "Greater Germany" (Grossdeutschland) favoured Catholic Austria