King in Prussia was the title used by the rulers of Prussia from 1702 to 1772 . King in Prussia was a title used by the Electors of Brandenburg from 1701 to 1772 . Subsequently they used the title King of Prussia .