Although Brandenburg was a part of the Holy Roman Empire, the Prussian lands were not within the Holy Roman Empire and were with the administration by the Teutonic Order grandmasters under jurisdiction of the Emperor. In return for supporting Emperor Leopold I in the War of the Spanish Succession, Elector Frederick III was allowed to crown himself "King in Prussia" in 1701. The new kingdom ruled by the Hohenzollern dynasty became known as the Kingdom of Prussia. The designation "Kingdom of Prussia" was gradually applied to the various lands of Brandenburg-Prussia. To differentiate from the larger entity, the former Duchy of Prussia became known as Altpreußen ("Old Prussia"), the province of Prussia, or "East Prussia".