The Hohenzollerns were made rulers of the Margraviate of Brandenburg in 1518.
In return for an alliance against France in the War of the Spanish Succession, the Great Elector's son, Frederick III, was allowed to elevate Prussia to a kingdom in 1701.