Bolivian President Evo Morales resigned today amid growing opposition after an international audit found the results of last month's election could not be validated due to "serious irregularities."

Mr Morales said he was stepping down "for the good of the country," which has been roiled by protests in the days following the October 20 election. Three people have died in the protests and hundreds have been injured.

"I regret this deeply," Mr Morales said, speaking on national television.

© AP Bolivian President Evo Morales has announced his resignation, seeking to calm the country after weeks of unrest over a disputed election that he had claimed to win.

Mr Morales will send his resignation letter to Congress in the next few hours, he said.

Demonstrators and the Bolivian opposition had accused electoral authorities of manipulating the vote count in favour of Mr Morales, the country's long time socialist leader. Mr Morales denied the allegations, but declared himself the winner.

Vice President Álvaro García Linera announced his resignation minutes after Mr Morales. According to the Bolivian Constitution, the President of the Senate would be next in the line of succession. But it's not clear if that person will ascend to the presidency because of widespread opposition to Mr Morales' party.

Mr Morales resigned just hours after he promised new elections would be held and the country's electoral council replaced following a report by the Organisation of American States (OAS).

A series of alleged irregularities - including failures in the chain of custody for ballots, alteration and forgery of electoral material, redirection of data to unauthorised servers and data manipulation - impacted the official vote count, the OAS said.

"The manipulations to the computer system (used in the elections) are of such magnitude that they must be deeply investigated by the Bolivian State to get to the bottom (of this issue)," the OAS said, in part.

The organisation recommended new elections be held under the umbrella of "new electoral authorities in order to offer a reliable process."

© AP Police who were against the reelection of President Evo Morales protest in Cochabamba, Bolivia on November 8, 2019. Opposing sides in Bolivia's protested over the legitimacy of Morales' claimed re-election, as dissension appeared to be spreading among police forces across the country.

© AP An opponent of Bolivia's President Evo Morales celebrates after he announced his resignation, in La Paz, Bolivia

A number of government party officials also resigned on Sunday (local time).

US Secretary of State Mike Pompeo commended the OAS audit and said the US supported the new election and the installation of a new electoral council.

"In order to restore credibility to the electoral process, all government officials and officials of any political organisations implicated in the flawed October 20 elections should step aside from the electoral process," Mr Pompeo said.

Mr Morales was one of the longest-serving heads of state in Latin America, and was Bolivia's first indigenous president.

He won his first election with a campaign that promised a government focused on the needs of the country's poor. But he was also accused of using the system to concentrate power.