Federal executive authority is shared by the federal president and federal cabinet. The president is elected by popular vote for a term of six years and limited to two consecutive terms of office. The president is the head of state and appoints the cabinet, a body consisting of the federal chancellor and a number of ministers. The president also appoints the members of the Constitutional Court and numerous other public officials, represents the republic in international relations, accredits foreign ambassadors, and acts as the nominal commander in chief of Austria's armed forces.