The president of the Socialist Republic of Vietnam is the head of state of Vietnam, elected by the National Assembly of Vietnam from delegates of the National Assembly. Since Vietnam is a single-party state, the president is generally considered to hold the second highest position in the political system, practically after the general secretary of the Communist Party of Vietnam. In addition, the president appoints the head of government, the prime minister. As head of state, the President represents Vietnam both domestically and internationally, and maintains the regular and coordinated operation and stability of the national government and safeguards the independence and territorial integrity of the country.