Venezuela's socialist President Nicolas Maduro has faced international condemnation after his re-election in a vote foes denounced as a farce.
The 55-year-old leader hailed his win as a victory against "imperialism," but his main rival alleged irregularities and refused to recognize the result.
Venezuela's mainstream opposition boycotted the election, given that two of its most popular leaders were barred from running, authorities had banned the coalition and various of its parties from using their names, and the election board is run by Mr Maduro loyalists. Turnout was under 50%.
Thousands of Maduro supporters, many wearing red berets, hugged and danced outside the Miraflores presidential palace, showered in confetti in the yellow, blue and red colours of the Venezuelan national flag.
"The revolution is here to stay!" a jubilant Maduro told the crowd, promising to prioritise economic recovery after five years of recession in the OPEC nation of 30 million people.
"Let's go, Nico!" his supporters chanted until after midnight during party scenes in downtown Caracas.
In a statement, US Vice President Mike Pence said Mr Maduro’s re-election was "a sham neither free nor fair."
He said Mr Maduro must allow humanitarian aid into Venezuela and that the US will not "sit idly by".
Spain, which has led European Union criticism of Mr Maduro, also weighed in.
"Venezuela's electoral process has not respected the most basic democratic standards. Spain and its European partners will study appropriate measures and continueto work to alleviate Venezuelans' suffering," tweeted Prime Minister Mariano Rajoy.
In a blistering statement, the 14-nation "Lima Group" of countries in the Americas from Canada to Brazil, said it did not recognise the legitimacy of the vote and would be downgrading diplomatic relations.
The group deplored Venezuela's "grave humanitarian situation" behind a migrant exodus, and promised to help coordinate with international financial bodies to crack down on corruption and block loans to the government.
However, regional leftist allies of Venezuela, from Cuba to Bolivia, sent their congratulations.
Russian President Vladimir Putin congratulated Mr Maduro on his re-election.
"The Russian president wished Maduro good health and success in resolving the social and economic issues facing the country," the Kremlin said in a statement.
The election board said Mr Maduro won 5.8 million votes, versus 1.8 million for his chief challenger Henri Falcon, a former governor who broke with the opposition boycott to stand.

Turnout was 46%, the election board said, way down from the 80% at the last presidential vote in 2013. Suggesting turnout was even lower, an electoral board source told Reuters 32.3% of eligible voters cast ballots by 6pm local time as most polls shut.
The government used ample state resources during the campaign and state workers were pressured to vote.
Mr Falcon called for a new vote, complaining about the government's placing of nearly 13,000 pro-government stands called "red spots" close to polling stations nationwide.
Mainly poor Venezuelans lined up to scan state-issued "fatherland cards" at red tents after voting, in hope of receiving a "prize" promised by Maduro.
The "fatherland cards" are required to receive benefits including food boxes and money transfers.
Some anti-government activists said the opposition coalition should have fielded a candidate regardless of how uneven the playing field might be.