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
Pomeranian War Frederick's downfall and to humiliate and destroy the Swedish queen Louisa Ulrika of Prussia, Frederick's sister. The Hats faction was also encouraged to declare war by France, whose wishes were central to the Hats' actions. Frederick's invasion of Saxony in 1756 was used as a pretext for war, being denounced by both Sweden and France as a violation of the Treaty of Westphalia of 1648, of which they were both guarantors. On March 21, 1757 the governments of France and Austria agreed a convention in which Sweden and France explained that they had to maintain Germany's freedom in line with