Venezuela's socialist President Hugo Chavez comfortably won re-election on Sunday, quashing the opposition's best chance at unseating him in 14 years and cementing himself as a dominant figure in modern Latin American history.
A fist-pumping Chavez led throngs of supporters in celebration from the balcony of the presidential palace - just months after cancer treatment had taken him out of the public eye and left him fending off rumors he was dying.
A new six-year term will extend his rule of the OPEC member state to two decades, giving him a chance to deepen his oil-revenue-fueled socialism while continuing to support left-wing allies in Latin America, though a possible recurrence of cancer still hangs over him.
"Today we've shown that Venezuela's democracy is one of the best democracies in the world, and we will continue to show it," the 58-year-old Chavez shouted, dressed in a signature red shirt and waving a replica sword of independence hero Simon Bolivar.
Chavez took 54.42% of the vote, with 90% of the ballots counted, compared with 44.97% for young opposition candidate Henrique Capriles.
Since taking power in 1999, the flamboyant former soldier has become a global flag bearer of "anti-imperialism," gleefully baiting the U.S. government while befriending leaders from Iran to Belarus whom the West views with suspicion.
At home, casting himself as an heir to independence hero Simon Bolivar, Chavez has poured billions of dollars in oil revenues into anti-poverty programs, and skillfully used his humble roots and folksy oratory to build a close connection with the masses.
Highlighting relief among Latin American allies, Argentine President Cristina Fernandez wrote via Twitter: "Your victory is our victory! And the victory of South America and the Caribbean!"
Opposition leaders appeared crushed by the loss, with some Capriles supporters bursting into tears at his campaign headquarters as the news sank in.
The youthful state governor put on a brave face, celebrating his "house-by-house" campaign as the start of a long road to changing the direction of the country.
"I hope a political movement that has been in power for 14 years understands that almost half the country does not agree with it," a subdued and tired-looking Capriles told crestfallen supporters.
Chavez's victory was considerably slimmer than his win of 25 percentage points in 2006, reflecting anger at his failure to fix basic problems such as crime, blackouts and corruption.
After heavy campaign spending, South America's biggest oil exporter faces growing pressure to devalue its currency in 2013, likely spurring inflation that has been a top complaint of Chavez sympathizers.
In the past, Chavez has taken advantage of election wins to press forward with radical reforms. His often-capricious nationalizations may now turn to some untouched corners of Venezuela's banking, food and health industries.
Chavez has looked bloated and at times exhausted in recent months, but he ran a surprisingly energetic end to his campaign, even managing to dance, sing and strum a guitar at rallies.
Any sign of a downturn in his health in the future would stoke a succession debate in the ruling Socialist Party.
Congress head Diosdado Cabello, Foreign Minister Nicolas Maduro and Vice President Elias Jaua all look well-placed for a potential push for leadership.
But none of Chavez's allies come anywhere near his popularity, so if there were to be another election, Capriles could be a favorite after a widely praised campaign that has made him well-known across the nation of 29 million people.
STATE ELECTIONS AHEAD
Now, Capriles and other leaders of the Democratic Unity coalition must dust themselves off and prepare for state governorship elections in December, when they will hope at least to increase the opposition's influence at the local level.
Chavez's new six-year term begins on Jan. 10.
Chavez's win will probably mean more foreign investment from politically allied countries such as China, Russia, Iran and Belarus, while Western investors are more cautious. Relations with Washington are also likely to remain on edge, though Venezuelan oil has continued to flow to the United States over the years despite the diplomatic tension.
Wall Street had been hoping for a Capriles win, so prices of Venezuelan bonds - among the most actively-traded emerging market debt - are likely to dip on Chavez's triumph.
Get all the latest news and videos in your inbox. Register FREE