 Government powers in Croatia are divided into legislative, executive and judiciary powers.The President of the Republic () is the head of state, directly elected to a five-year term and is limited by the Constitution to a maximum of two terms.In addition to being the commander in chief of the armed forces, the president has the procedural duty of appointing the prime minister with the consent of the parliament, and has some influence on foreign policy.