Tran Dai Quang has been sworn in as Vietnam's president for the second time in four months after being re-elected by the country's rubber-stamp National Assembly.

The government said on its website that Quang won 485 votes from the 494 deputies of the Communist Party-dominated assembly on Monday.

Quang was first elected president, a largely ceremonial post in Vietnam, in early April by the outgoing assembly. He was the minister of public security before becoming president.

In his acceptance speech Monday, which was broadcast live on state television, Quang pledged to speed up the reform process and vowed to defend Vietnam's sovereignty and territorial integrity.

The National Assembly deputies, who were elected in general elections in May, are scheduled to reappoint Prime Minister Nguyen Xuan Phuc on Tuesday.