Frederick ruled the Kingdom of Prussia from 1740 until 1786, the longest reign of any Hohenzollern king at 46 years. His most significant accomplishments during his reign included his reorganization of Prussian armies, his military victories, his success in the Seven Years' War, and his patronage of the arts and the Enlightenment. Frederick was the last Hohenzollern monarch titled King in Prussia and declared himself King of Prussia after achieving sovereignty over most historically Prussian lands in 1772. Prussia greatly increased its territories and became a leading military power in Europe under his rule. He became known as Frederick the Great (German: Friedrich der Große) and was nicknamed Der Alte Fritz ("The Old Fritz") by the Prussian people and eventually the rest of Germany.