The Kurdistan Regional Government is the official ruling body of the autonomous Kurdistan Region of northern Iraq. The cabinet is selected by the majority party or list who also select the prime minister of the Iraqi Kurdistan region. The president is directly elected by the electorate of the region and is the head of the cabinet and chief of state who delegates executive powers to the cabinet. The prime minister is traditionally the head of the legislative body but also shares executive powers with the president. The President of Kurdistan Region is also the commander-in-chief of the Peshmerga Armed Forces. In September, the 2017 Kurdistan Region independence referendum was held regarding Kurdish independence from Iraq. 92% of Iraqi Kurds participating in the referendum voted in favor of independence. The referendum was regarded as illegal by the federal government in Baghdad, and on 6 November, Iraqs Supreme Federal Court ruled that no Iraqi province was allowed to secede in order to preserve the unity of Iraq. On 14 November, the KRG announced it would respect the Supreme Federal Courts ruling, stating that "this decision must become a basis for starting an inclusive national dialogue between Kurdish authorities in Erbil and Baghdad to resolve all disputes".