The prime minister of Denmark is the head of government in the Kingdom of Denmark comprising the three constituent countries: Denmark, Greenland and the Faroe Islands. Before the creation of the modern office, the kingdom did not initially have a head of government separate from its head of state, namely the monarch, in whom the executive authority was vested. The Constitution of 1849 established a constitutional monarchy by limiting the powers of the monarch and creating the office of premierminister. The inaugural holder of the office was Adam Wilhelm Moltke.