Frederick II was the monarch of Prussia from 1740 until his death in 1786. He was the last Hohenzollern monarch titled King in Prussia, declaring himself King of Prussia after annexing Royal Prussia from the Polish–Lithuanian Commonwealth in 1772. From Wikipedia