The Head of State of Portugal is the President of the Republic, elected to a five-year term by direct, universal suffrage. He or she has also supervision and reserve powers. These powers are often compared[by whom?] with the "moderator power" that was held by the King in the Portuguese Constitutional Monarchy.[citation needed] Presidential powers include the appointment of the Prime Minister and the other members of the Government (where the President takes into account the results of legislative elections); dismissing the Prime Minister; dissolving the Assembly of the Republic (to call early elections); vetoing legislation (which may be overridden by the Assembly with a supermajority); and declaring a state of war or siege. The President is also the ex officio Commander-in-Chief of the Armed Forces.