The Hohenzollerns held the Brandenburg electorate from 1415 and inherited the duchy of Prussia in 1618; in 1701 Frederick I crowned himself 'King in Prussia' - the Kingdom of Prussia. Frederick William I built the military state (the 'soldier king'); Frederick II the Great seized Silesia through the War of the Austrian Succession and the Seven Years War (1740-1763), a small state standing against the continent's powers, and the military tradition and reason of state became its creed; the partitions of Poland enlarged it greatly. After the disaster of Jena (1806) the Stein-Hardenberg reforms revived it, and Leipzig (1813) restored it; the constitution of 1848 was a facade. Bismarck's three wars - Denmark 1864, Austria 1866, France 1870 - unified Germany; in 1871 William I was crowned German emperor at Versailles, the Prussian crown passing into the empire (its royal title running to 1918).