Bolivian President Evo Morales’ claims of a near outright victory in his bid for a fourth term sparked massive and violent riots across the South American nation on Monday night.

In the city of Sucre, opponents of Morales set fire to the regional headquarters of the electoral court while shouting: “Respect my vote!” while in Tarija, disgruntled voters set fire to ballot boxes from Sunday’s election.

Supporters of opposition presidential candidate Carlos Mesa burn campaign posters of ruling party congressional candidates outside the Supreme Electoral Court where election ballots are being counted in La Paz, Bolivia, Monday, Oct. 21, 2019.  (AP)

In the capital of La Paz, police used tear gas to quell fighting between supporters of the president and the opposition outside of a vote-counting center. Protesters threw firecrackers and stones.

TRUMP CONGRATULATES TRUDEAU ON SECOND-TERM WIN AFTER CANADIAN PARLIAMENTARY ELECTIONS

Anger and confusion have reigned since the polls closed and electoral officials abruptly stopped releasing results. At that point, Morales had a lead of 45.3 percent to 38.2 percent over the second-place candidate, former President Carlos Mesa.

Supporters of opposition presidential candidate Carlos Mesa protest outside the Supreme Electoral Court where election ballots are being counted in La Paz, Bolivia, Monday, Oct. 21, 2019. (AP)

Several hours later, Bolivia’s top electoral authorities renewed its preliminary count. The last released results before Monday night showed him falling a few points short of the percentage needed to avoid the first runoff in his nearly 14 years in power,

Yet, the president claimed an outright victory late Sunday, telling supporters that the votes that still needed to be counted would be enough to give him an outright victory.

“The people again imposed their will,” he said.

CHILE RIOTS LEAVE 3 DEAD IN SUPERMARKET FIRE AS CURFEW DECLARED, PRESIDENT REVERSES SUBWAY FARE HIKES

Supporters of Bolivian President Evo Morales, who is running for a fourth term, rally outside the Supreme Electoral Court where election ballots are being counted in La Paz, Bolivia, Monday, Oct. 21, 2019.  (AP)

However, Morales’ opponents accused officials of trying to help the president avoid a runoff battle in which he could lose to a unified opposition.

Mesa, who had warned earlier that there could be “manipulation of the vote to impede a second round” of voting, called on citizens and civic groups to “conduct a battle in defense of the vote.”

“They can’t take away democracy from us,” he told a gathering of his supporters in Santa Cruz.

Michael G. Kozak, acting assistant secretary at the U.S. State Department's Bureau of Western Hemisphere Affairs, accused Bolivian authorities of trying to subvert the vote.

“We will work with the intel community to hold accountable anyone who undermines Bolivia’s democratic institutions,” he said in a tweet. “We reject any attempts to initiate violence and call on all parties to resolve the situation through peaceful means.”

Police block protesters from entering the Supreme Electoral Court where election ballots are being counted in La Paz, Bolivia. (AP)

BOTCHED CAPTURE OF EL CHAPO'S SON STEMMED FROM US WARRANT; DRUG LORD'S FAMILY TO COMPENSATE VICTIMS' FAMILIES

Meanwhile, an observer mission from the Organization of American States expressed concerns about the counting process.

"The OAS Mission expresses its deep concern and surprise at the drastic and hard-to-explain change in the trend of the preliminary results revealed after the closing of the polls," the OAS observer mission said in a statement.

The foreign ministries of Argentina, Brazil, and Colombia also expressed concerns about the situation.

Supporters of opposition presidential candidate Carlos Mesa, a former president, gather outside the Supreme Electoral Court where election ballots are being counted in La Paz. (AP)

Bolivian law says Morales would win an outright victory if he ended up with at least a 10-percentage point advantage over Mesa, avoiding a December second-round election. The official final count is not due for 7 days.

The renewed count showed Morales led with 46.41 percent to Mesa’s 37.06 percent, with 95 percent of the votes counted.

ECUADORAN ANTI-GOVERNMENT PROTESTERS SHOW OFF CAPTIVE POLICE OFFICERS

Morales, 59, a native Aymara from Bolivia's highlands, became the country's first indigenous president in 2006 and easily won the two following elections amid more than a decade of an economic boom in South America's poorest country. He paved roads, sent Bolivia's first satellite to space and curbed inflation.

Bolivia's opposition presidential candidate Carlos Mesa talks during a press conference at a hotel in La Paz. (AP)

But he has faced growing dissatisfaction, especially over his refusal to accept the results of a 2016 referendum to keep limits on presidential terms. The country's top court, considered by critics as friendly to the president, ruled that limits would violate Morales' political rights as a citizen.

CLICK HERE TO GET THE FOX NEWS APP

Being forced into a runoff would be a sharp blow to Morales, "whose political success has been impressive and who seemed confident of a first-round win," said Michael Shifter, head of the Inter-American Dialogue, a Washington-based think tank.

Bolivian President Evo Morales waves to supporters at the presidential palace in La Paz, Bolivia, after a first-round presidential election, Sunday, Oct. 20. (AP)

Bolivians also elected all 166 congressional seats. Morales' Movement Toward Socialism party lost seats although it retained a majority in Congress.

The Associated Press contributed to this report.