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
Treaty of Xanten in Westphalia to be governed by the House of Hohenzollern, and were the oldest constituents of the future Prussian Rhineland and the future Province of Westphalia. Treaty of Xanten The Treaty of Xanten () was signed in the Lower Rhine town of Xanten on November 12, 1614 between Wolfgang Wilhelm, Count Palatine of Neuburg and John Sigismund, Elector of Brandenburg, with representatives from England and France serving as mediators. The treaty ended the War of the Jülich Succession and all hostilities between Wolfgang William and John Sigismund. Based on the terms of the treaty, the territories of Jülich-Berg and Ravenstein