text: Encouraged by Frederick's victory at Mollwitz, the French and their ally, the Electorate of Bavaria, entered the war against Austria in early September 1741 and marched on Prague. Meanwhile, Frederick, alongside other members of the League of Nymphenburg, sponsored the candidacy of his ally Charles of Bavaria to be elected Holy Roman Emperor. In late November, the Franco-Bavarian forces took Prague, and Charles was crowned King of Bohemia. Subsequently, he was elected as the Holy Roman Emperor Charles VII on 24 January 1742. After the Austrians pulled their army out of Silesia to defend Bohemia, Frederick pursued them and blocked their path to Prague. The Austrians counter-attacked on 17 May 1742, initiating the Battle of Chotusitz. Frederick's retrained cavalry proved more effective than at Mollwitz, but once more it was the discipline of the Prussian infantry that won the field and allowed Frederick to claim a major victory. This victory, along with the Franco-Bavarian forces capturing Prague, forced the Austrians to seek peace. The terms of the Treaty of Breslau, negotiated in June 1742, gave Prussia all of Silesia and Glatz County, with the Austrians retaining only the portion called Austrian or Czech Silesia.
  By 1743, the Austrians had subdued Bavaria and driven the French out of Bohemia. Frederick strongly suspected Maria Theresa would resume war in an attempt to recover Silesia. Accordingly, he renewed his alliance with France and preemptively invaded Bohemia in August 1744, beginning the Second Silesian War. In late August 1744, Frederick's army had crossed the Bohemian frontier, marched directly to Prague, and laid siege to the city, which surrendered on 16 September 1744 after a three-day bombardment. Frederick's troops immediately continued marching into the heart of central Bohemia, but Saxony had now joined the war against Prussia. Although the combined Austrian and Saxon armies outnumbered Frederick's forces, they refused to directly engage with Frederick's army, harassing his supply lines instead. Frederick was forced to withdraw to Silesia as winter approached. In the interim, Frederick successfully claimed his inheritance to the minor territory of East Frisia on the North Sea coast of Germany, occupying the territory after its last ruler died without issue in 1744.