By Eduardo Garcia and Brian Ellsworth
QUITO (Reuters) - Ecuadorean President Rafael Correa on Monday reveled in a sweeping re-election victory that allows him to deepen his socialist revolution even as he seeks to woo foreign investment in the resource-wealthy Andean nation.
The pugnacious 49-year-old economist trounced his nearest rival by more than 30 percentage points on Sunday to win a new four-year term. He has already been in power for six years, winning broad support with ambitious social spending programs.
His resounding victory could set Correa up to become Latin America's most outspoken critic of Washington as Venezuelan President Hugo Chavez is locked in a battle with cancer and may be unable to stay in power.
"We will be present wherever we can be useful, wherever we can best serve our fellow citizens and our Latin American brothers," Correa told supporters who celebrated in front of the presidential palace in Quito, waving the ruling Alianza Pais party's neon-green flags.
Chavez made a surprise return to Venezuela on Monday after two months of cancer treatment in Cuba, but his health is delicate and it is not clear if he will be able to stay in power and maintain his decade-long role as Latin America's leftist standard bearer.
Correa is now the region's loudest voice arguing against the free-market reforms promoted by Washington and in favor of state-driven economies and expanding ties with China.
Still, the continued success of Latin American socialism will depend on strong commodities prices that underpin generous social spending, and Correa needs to both improve Ecuador's stagnant oil production and spur a nascent mining industry.
In a sign he wants to deepen socialist reforms, Correa's legislative agenda includes a new law that would regulate television and newspaper content, part of his ongoing confrontation with opposition media. He also plans a land reform campaign to redistribute idle land to the poor.
"Our Ecuador needs a president like Rafael Correa. He has been strong and has not allowed anyone to intimidate him," said Julieta Moira, an unemployed 46-year-old as she celebrated outside the presidential palace on Sunday night. "I'm very excited, happy and thankful."
Correa is also expected to seek changes to a mining law that would help close a deal with Canada's Kinross to develop a large gold reserve. That will be a major test of his ability to offer investment security while ensuring the state keeps a large portion of revenue.
"Correa's electoral-victory statements suggest he would single out domestic economic groups, as part of his policy to support the poor. The sectors most likely to be affected by Correa's renewed radicalism would be the banking, media and banana industries," risk consulting firm IHS said on Monday.
"On mining, however, we expect Correa to ease conditions as he is very keen in attracting foreign direct investment to this sector."
Chavez, in a statement sent by Venezuela's government, celebrated Correa's re-election as a triumph for the ALBA bloc of leftist nations in Latin America and the Caribbean. The group has been left rudderless since Chavez was sidelined with cancer.
"It is a victory for ALBA, for the Bolivarian and socialist forces of our America, and will help to consolidate an era of change," the statement said, referring to Venezuelan-born South American independence hero Simon Bolivar.
Correa dedicated his victory to Chavez.
With almost two-thirds of votes counted by Monday morning, Correa had 57 percent support, compared to 24 percent for nearest opposition candidate Guillermo Lasso.
Lasso, a former banker from the coastal city of Guayaquiil, did better than expected on Sunday and established himself as the face of the opposition by winning about a quarter of the votes.
The six other opposition candidates including former Correa ally Alberto Acosta, former President Lucio Gutierrez and banana magnate and five-time presidential hopeful Alvaro Noboa.
Critics call Correa a dangerous authoritarian who has curbed media freedom and controlled state institutions. Even some supporters disapprove of his tempestuous outbursts, fights with media and bullying of adversaries.
Ecuadoreans also chose a new Congress on Sunday, and Correa said he expected the ruling Alianza Pais to win a majority. That would let him avoid negotiating with rivals to pass proposed laws, including the new media law and land reform measures.
Correa needs to lure investors to diversify the economy and finance the investment in social welfare and infrastructure that helped him win another four-year term.
Ecuador has been locked out of capital markets after a 2008 debt default on $3.2 billion in bonds, and Correa's government has taken an aggressive stance with oil companies to squeeze more revenue from their operations.
Foreign investment will be key to boosting oil output that has been stagnant for five years and to expanding a mining industry that has barely begun to tap the country's gold and copper reserves.
"We can't be beggars sitting on a sack of gold," is a catch phrase Correa has used in recent months to argue that Ecuador needs to better exploit its natural resources despite opposition from rural communities to some projects.
In that vein, Correa appears to be cautiously willing to cut deals and soften his image as an anti-capitalist crusader.
"The advantages of our country for foreign investment are political stability, a strong macroeconomic performance ... and important stimulus to new private investment," he said last week while hosting the emir of gas-rich Qatar.
Foreign direct investment has generally been less than $1 billion a year since Correa took office in 2007. By comparison, neighboring Peru and Colombia last year received $7.7 billion and $13 billion, respectively.
Correa's government is also in talks with China to secure funding for the $12.5 billion Pacifico refinery, which would allow Ecuador to save up to $5 billion a year in fuel imports.
(Editing by Andrew Cawthorne, Kieran Murray and Sandra Maler)