The Pakistan Government is defined by the Constitution as a parliamentary system. The President is the head of state and commander in chief, serving a five year term, while the Prime Minister is the chief executive and leader of the majority party. The federal government has seperate legislative and judicial branches, and power is distributed between local, provincial and federal legislatures. The Constitution also defines Pakistan as an Islamic Republic.