Germany in the era 1680s to 1789 comprised many small territories. Prussia finally emerged as dominant. Meanwhile, the states developed a classical culture that found its greatest expression in the Enlightenment, with world class leaders such as philosophers Leibniz and Kant, writers such as Goethe and Schiller, and musicians Bach and Mozart.
Germany, or more exactly the old Holy Roman Empire, in the 18th century entered a period of decline that would finally lead to the dissolution of the Empire during the Napoleonic Wars. Since the Peace of Westphalia in 1648, the Empire had been fragmented into numerous independent states (Kleinstaaterei). In 1701 Elector Frederick of Brandenburg was crowned "King in Prussia". From 1713 to 1740, King Frederick William I, also known as the "Soldier King", established a highly centralized state.
The term German dualism describes the long conflict between the two largest German states Austria and Prussia from 1740 to 1866 when Prussia finally forced Austria out of the German Confederation.
The Kingdom of Prussia emerged as the leading state of the Empire. Frederick III (1688–1701) became King Frederick I of Prussia in 1701. Since there was only one King of the Germans within the Empire, Frederick gained the assent of Emperor Leopold I (in return for alliance against France in the War of the Spanish Succession) to his adoption (January 1701) of the title of "King in Prussia" based on his non-imperial territories. The title came into general acceptance with the Treaty of Utrecht (1713).