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
History of the Catholic Church in Germany for predominance in Europe. The war resulted in large areas of Germany being laid waste, a loss of approximately a third of its population, and in a general impoverishment. The war ended in 1648 with the Peace of Westphalia, signed in Münster and Osnabrück: Imperial territory was lost to France and Sweden and the Netherlands left the Holy Roman Empire after having de facto seceded 80 years earlier. The imperial power declined further as the states' rights were increased. "Aided by the personal charm of its young king Louis XIV, who had assumed the government in 1661, France appeared to