In the 18th century, the rise of Prussia as a new German power caused the Diplomatic Revolution and an alliance between France, Habsburg and Russia, manifested in 1756 in the Treaty of Versailles and the Seven Years' War against Prussia and Great Britain. Although a German national state was on the horizon, the loyalties of the German population were primarily with smaller states. The French war against Prussia was justified through its role as guarantor of the Peace of Westphalia, and it was in fact fighting on the side of the majority of German states.