At the adoption of the new Instrument of Government of 1809, the two offices of Prime Minister for Justice (Swedish: Justitiestatsminister) and Prime Minister for Foreign Affairs (Swedish: Utrikesstatsminister) were created, though their roles were no more than just the heads of their respective ministries. When the office of the Prime Minister was created in 1876, the Prime Ministers for Justice and Foreign Affairs were thus subsequently demoted to Minister for Justice and Minister for Foreign Affairs. Unlike the Minister for Justice, the Minister for Foreign Affairs did however continue to be styled as "Excellency", an honour shared only with the Prime Minister.[7][8] From 1917, parliamentarian principles were definitively established in Sweden and the Monarch ceased to exercise their constitutional authority to appoint the Prime Minister and the Councillors of State (cabinet ministers) at their own discretion.