Until 22 May 2014 the politics of Thailand were conducted within the framework of a constitutional monarchy, whereby the Prime Minister is the head of government and a hereditary monarch is head of state. The judiciary is independent of the executive and the legislative branches.