The Second Silesian War was also part of the Austrian War of Succession, but also a war fought for supremacy in Silesia between Prussia and Austria. Frederick II had allied himself at that time with France. Austria formed an alliance with Saxony, Great Britain and the Netherlands. In August 1744, Prussia ambushed Bohemia with 80,000 soldiers and thereby opened the Second Silesian War. After several hard battles, it was agreed in the Treaty of Dresden that Silesia would always remain in Prussian hands.