LONDON -- Some cried, some cheered. Many Latin Americans mourned the death of Venezuelan President Hugo Chavez, leaders in Europe and Asia sent condolences, and Iran's president predicted great works in the afterlife.
President Barack Obama, meanwhile, focused on "a new chapter" for Venezuela, following 14 years in which Chavez cast himself as a bulwark against U.S. domination.
Chavez, who died Tuesday at age 58, was seen as a hero by some for his socialist programs, his anti-U.S. rhetoric and gifts of cut-rate oil. Others considered him a bully who repressed his opponents.
A teary-eyed Bolivian President Evo Morales, one of Chavez's closest allies and most loyal disciples, declared that "Chavez is more alive than ever."
"Chavez will continue to be an inspiration for all peoples who fight for their liberation," Morales said Tuesday in a televised speech. "Chavez will always be present in all the regions of the world and all social sectors. Hugo Chavez will always be with us, accompanying us."
Former London Mayor Ken Livingstone, another left-wing fan of the Latin American strongman, told The Associated Press that Chavez's ability to shrug off American pressure and weather what he described as a U.S.-backed coup attempt had inspired the entire continent to defy Washington.
"The fact that he survived encouraged other Latin American nations to break free and put their own people ahead of corporate interests," Livingstone said in a telephone interview. "Before him, the governments there were just creatures of the White House. Now they are generally pursuing policies that help their own people."
The U.N. Security Council observed a minute of silence to honour the memory of Chavez at the start of a meeting on Wednesday morning.
Russia's U.N. Ambassador Vitaly Churkin, the current council president, expressed the "deepest sympathy" of the U.N.'s most powerful body at Chavez' death. He then asked for a minute of silence and the 15 council members and other diplomats and U.N. staff in the room stood up to honour the late Venezuelan leader.
U.N. Secretary-General Ban Ki-moon expressed sadness at Chavez' death and said he "spoke to the challenges and aspirations of the most vulnerable Venezuelans," provided new impetus for regional integration movements and played a vital role in peace talks in Colombia, U.N. deputy spokesman Eduardo del Buey said.
Chavez pulled Venezuela out of America's sphere of influence and embraced Washington's rivals including Cuba, Iran and Russia. Officials in all three countries had effusive praise for the late leader.
Iranian President Mahmoud Ahmadinejad announced a day of mourning and compared Chavez to a saint, saying he will "return on resurrection day."
Ahmadinejad said he has "no doubt Chavez will return to Earth together with Jesus and the perfect" Imam Mahdi, the most revered figure of Shiite Muslims, and help "establish peace, justice and kindness" in the world. The Iranian leader said he believes something "suspicious" caused the cancer that killed Chavez.
In Cuba, President Raul Castro's government declared two days of national mourning and ordered flags to fly at half-staff.
"It is with deep and excruciating sorrow that our people and the revolutionary government have learned of President Hugo Rafael Chavez Frias' decease," it said in a statement read on the nightly state TV newscast. "The Cuban people view him as one of their most outstanding sons."
Some islanders worried about the loss of the country's No. 1 ally, who has sent billions of dollars of oil to Cuba at preferential terms.
"It's a very tough blow. ... Now I wonder, what is to become of us?" said Maite Sierra, a 72-year-old Havana resident.
The government of the impoverished nation of Haiti, which benefited from Venezuela's largesse under Chavez, declared three days of mourning, with flags to fly at half-staff, nightclubs closed and dance music banned from the radio. A sombre President Michel Martelly presided over a small ceremony on the grounds of the National Palace, calling Chavez "one of the biggest supporters Haiti has ever had."
"This is a sad day for Haiti," Martelly said.
Across Latin American, grief-stricken supporters lit candles, waved Venezuelan flags or brandished portraits of the late leader in solidarity with mourners in Venezuela.
In Moscow, candles, flowers, and a traditional Russian bottle of vodka were left outside Venezuela's embassy. Russian President Vladimir Putin called Chavez "an extraordinary and strong man who looked into the future and always aimed high," while Prime Minister Dmitry Medvedev posted photographs of himself with Chavez to his Facebook page.
The authoritarian president of Belarus declared three days of national mourning and suspended TV and radio for Chavez, who provided loans and oil to the former Soviet republic.
"In Hugo Chavez we lost a dear person and great friend, who loved Belarus and always extended a hand to help us in difficult times," President Alexander Lukashenko said in a statement.
Chinese President Hu Jintao, who steps down this month, and his replacement, Xi Jinping, also sent their condolences to Vice-President Nicolas Maduro, the interim Venezuelan president ahead of new elections.
Venezuela took out tens of billions of dollars in Chinese loans, repayable in oil, which helped fund social programs and consumer goods giveaways that made Chavez popular. His anti-American policies and posturing also pleased some in Beijing, though Chinese leaders were careful not to show public support.
China's Foreign Ministry spokeswoman Hua Chunying called Chavez "a good friend to the Chinese people."
In the United States, Obama issued a statement reaffirming Washington's support for the "Venezuelan people and its interest in developing a constructive relationship with the Venezuelan government."
"As Venezuela begins a new chapter in its history, the United States remains committed to policies that promote democratic principles, the rule of law, and respect for human rights," the statement read.
Republican U.S. Congresswoman Ileana Ros-Lehtinen of Florida called Chavez's death "an opportunity for democracy in Venezuela."
Some of the estimated 190,000 Venezuelan immigrants living in the United States -- about half of them in Florida -- turned out cheering and waving their country's flag and expressed hope Tuesday that change would come to their homeland.
"We are not celebrating death," Ana San Jorge, 37, said amid a jubilant crowd in the Miami suburb of Doral. "We are celebrating the opening of a new door, of hope and change."
Several U.S. allies offered praise for Chavez, though some, like France's Socialist President Francois Hollande, noted that "not everyone shared" his political views.
Canadian Prime Minister Stephen Harper sent his condolences -- although he pointedly offered hopes for a "a better, brighter future based on the principles of freedom, democracy, the rule of law, and respect for human rights."
Argentine President Cristina Fernandez declared three days of mourning nationwide. She and President Jose Mujica of neighbouring Uruguay prepared to travel to Venezuela for the funeral.
In Nicaragua, a nation that broadly benefited from Venezuelan cut-rate oil, Rosario Murillo, the wife and spokeswoman of President Daniel Ortega, said "We are all Chavez."
Former U.S. President Jimmy Carter released a statement saying Chavez had a vision to bring "profound changes" to those in his country who were neglected and marginalized.
"Although we have not agreed with all of the methods followed by his government, we have never doubted Hugo Chavez's commitment to improving the lives of millions of his fellow countrymen," Carter wrote.
His influence extended beyond Latin America. Nabil Shaath, an adviser to the Palestinian president, called Chavez "a loyal friend who passionately defended our right to freedom and self-determination."
There was no shortage of emotional farewells to a socialist hero who some feel rivaled the revolutionaries of the 1960s.
Cuban folk singer Silvio Rodriguez quoted the title words of a famous musical ode to revolutionary icon Ernesto "Che" Guevara in bidding farewell to Chavez on his blog.
"Hasta siempre, comandante," he wrote, Spanish for "Farewell forever, commander."