The Second Silesian War (1744–1745) was a conflict between Prussia and Austria which confirmed Prussia's control of Silesia (now in south-western Poland). The war was fought mainly in Silesia, Bohemia, and Upper Saxony and formed one theatre of the wider War of the Austrian Succession. The Habsburg Monarchy's fortunes had improved since the end of the First Silesian War two years earlier. Prussia entered an alliance with Austria's enemies and rejoined the war, invading Habsburg Bohemia in mid-1744 to prevent a resurgent Austria from taking back Silesia. The war ended in a Prussian victory with the Treaty of Dresden in December 1745. Continuing conflict over Silesia would draw Austria and Prussia into the Third Silesian War a decade later. The Second Silesian War repeated the earlier defeat of the Habsburg Monarchy by a lesser German power and contributed to the Austria–Prussia rivalry that would shape German politics for more than a century. (This article is part of a featured topic: Silesian Wars.)