The War of Austrian Succession was sparked in 1740 when Maria Theresa succeeded her father Charles VI as ruler of the Hapsburg empire, despite the Pragmatic Sanction that ensured her succession. Frederick II of Prussia invaded and took the wealthy territory of Silesia from Austria, starting the war. Over the following years, various European powers including France, Bavaria, Saxony, Britain, and eventually Russia allied with either Austria or Prussia and the borders of Central Europe were reshaped through several treaties. The 1748 Treaty of Aix-la-Chapelle ended the war by confirming Prussian control of Silesia and making it a new European power, while Austria maintained the Prag