Düsseldorf Cow War also increasing the local garrisons to 4,100 men. In November 1646, Frederick William invaded Berg, but the invaders soon ran out of food and returned home, achieving only the return of Ravensberg. The Peace of Westphalia finally settled the Thirty Years' War in 1648. Three years later, the Holy Roman Empire found itself on the brink of war when Wolfgang Wilhelm claimed that the normative year imposed by the treaty took precedence over the Treaty of Xanten in regard to church properties. Since more parishes were in Catholic hands in 1624 than a decade before, Wolfgang Wilhelm hoped to stabilize
War of the Spanish Succession was reliant on the so-called "Maritime Powers" (England and the Dutch Republic) and also a higher priority for them. By formalising religious divisions within the Empire, the [[Peace of Westphalia|1648 Peace of Westphalia]] weakened its integrity and by 1700, the larger German states were pursuing their own policies. [[Electorate of Bavaria|Bavaria]] allied itself with France while as King of Poland, [[Augustus II the Strong|Augustus of Saxony]] was fully occupied by the [[Great Northern War]]. To gain [[Frederick I of Prussia|Frederick of Prussia]]'s support, Leopold recognised him as King, with Prussia made an equal member of the Grand Alliance. [[George I