Somalia is a parliamentary representative democratic republic. The President of Somalia is the head of state and commander-in-chief of the Somali Armed Forces and selects a Prime Minister to act as head of government.