Margraviate of Brandenburg fief of the Polish–Lithuanian Commonwealth, to which the electors paid homage. The electors of Brandenburg spent the next two centuries attempting to gain lands to unite their separate territories (the Mark Brandenburg, the territories in the Rhineland and Westphalia, and Ducal Prussia) to form one geographically contiguous domain. In the Peace of Westphalia ending the Thirty Years' War in 1648, Brandenburg-Prussia acquired Farther Pomerania and made it the Province of Pomerania by the Treaty of Stettin (1653). In the second half of the 17th century, Frederick William, the "Great Elector", developed Brandenburg-Prussia into a major power. The state constructed Brandenburg's
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