CARACAS, Venezuela — President Hugo Chavez, the fiery populist who declared a socialist revolution in Venezuela, crusaded against U.S. influence and championed a leftist revival across Latin America, died Tuesday at age 58 after a nearly two-year bout with cancer.

Vice-President Nicolas Maduro, surrounded by other government officials, announced the death in a national television broadcast. He said Chavez died at 4:25 p.m. local time.

During more than 14 years in office, Chavez routinely challenged the status quo at home and internationally. He polarized Venezuelans with his confrontational and domineering style, yet was also a masterful communicator and strategist who tapped into Venezuelan nationalism to win broad support, particularly among the poor.

Chavez repeatedly proved himself a political survivor. As an army paratroop commander, he led a failed coup in 1992, then was pardoned and elected president in 1998. He survived a coup against his own presidency in 2002 and won re-election two more times.

The burly president electrified crowds with his booming voice, often wearing the bright red of his United Socialist Party of Venezuela or the fatigues and red beret of his army days. Before his struggle with cancer, he appeared on television almost daily, talking for hours at a time and often breaking into song of philosophical discourse.

Chavez used his country's vast oil wealth to launch social programs that include state-run food markets, new public housing, free health clinics and education programs. Poverty declined during Chavez's presidency amid a historic boom in oil earnings, but critics said he failed to use the windfall of hundreds of billions of dollars to develop the country's economy.

Inflation soared and the homicide rate rose to among the highest in the world.

Chavez underwent surgery in Cuba in June 2011 to remove what he said was a baseball-size tumour from his pelvic region, and the cancer returned repeatedly over the next 18 months despite more surgery, chemotherapy and radiation treatments. He kept secret key details of his illness, including the type of cancer and the precise location of the tumors.

"El Comandante,'' as he was known, stayed in touch with the Venezuelan people during his treatment via Twitter and phone calls broadcast on television, but even those messages dropped off as his health deteriorated.

Two months after his last re-election in October, Chavez returned to Cuba again for cancer surgery, blowing a kiss to his country as he boarded the plane. He was never seen again in public.

After a 10-week absence marked by opposition protests over the lack of information about the president's health and growing unease among the president's "Chavista'' supporters, the government released photographs of Chavez on Feb. 15 and three days later announced that the president had returned to Venezuela to be treated at a military hospital in Caracas.

Throughout his presidency, Chavez said he hoped to fulfil Bolivar's unrealized dream of uniting South America.

He was also inspired by Cuban leader Fidel Castro and took on the aging revolutionary's role as Washington's chief antagonist in the Western Hemisphere after Castro relinquished the presidency to his brother Raul in 2006.

Supporters saw Chavez as the latest in a colorful line of revolutionary legends, from Castro to Argentine-born Ernesto "Che'' Guevara. Chavez nurtured that cult of personality, and even as he stayed out of sight for long stretches fighting cancer, his out-sized image appeared on buildings and billboard throughout Venezuela. The airwaves boomed with his baritone mantra: "I am a nation.'' Supporters carried posters and wore masks of his eyes, chanting, "I am Chavez.''

Chavez saw himself as a revolutionary and saviour of the poor.

"A revolution has arrived here,'' he declared in a 2009 speech. "No one can stop this revolution.''

Chavez's social programs won him enduring support: Poverty rates declined from 50 per cent at the beginning of his term in 1999 to 32 per cent in the second half of 2011. But he also charmed his audience with sheer charisma and a flair for drama that played well for the cameras.

He ordered the sword of South American independence leader Simon Bolivar removed from Argentina's Central Bank to unsheathe at key moments. On television, he would lambast his opponents as "oligarchs,'' announce expropriations of companies and lecture Venezuelans about the glories of socialism. His performances included renditions of folk songs and impromptu odes to Chinese revolutionary Mao Zedong and 19th century philosopher Friedrich Nietzsche.

Chavez carried his in-your-face style to the world stage as well. In a 2006 speech to the U.N. General Assembly, he called President George W. Bush the devil, saying the podium reeked of sulfur after Bush's address.

Critics saw Chavez as a typical Latin American caudillo, a strongman who ruled through force of personality and showed disdain for democratic rules. Chavez concentrated power in his hands with allies who dominated the congress and justices who controlled the Supreme Court.

He insisted all the while that Venezuela remained a vibrant democracy and denied trying to restrict free speech. But some opponents faced criminal charges and were driven into exile.

While Chavez trumpeted plans for communes and an egalitarian society, his soaring rhetoric regularly conflicted with reality. Despite government seizures of companies and farmland, the balance between Venezuela's public and private sectors changed little during his presidency.

And even as the poor saw their incomes rise, those gains were blunted while the country's currency weakened amid economic controls.

Nonetheless, Chavez maintained a core of supporters who stayed loyal to their "comandante'' until the end.

"Chavez masterfully exploits the disenchantment of people who feel excluded ... and he feeds on controversy whenever he can,'' Cristina Marcano and Alberto Barrera Tyszka wrote in their book "Hugo Chavez: The Definitive Biography of Venezuela's Controversial President.''

Hugo Rafael Chavez Frias was born on July 28, 1954, in the rural town of Sabaneta in Venezuela's western plains. He was the son of schoolteacher parents and the second of six brothers.

Chavez was a fine baseball player and hoped he might one day pitch in the U.S. major leagues. When he joined the military at age 17, he aimed to keep honing his baseball skills in the capital.

But the young soldier immersed himself in the history of Bolivar and other Venezuelan heroes who had overthrown Spanish rule, and his political ideas began to take shape.

Chavez burst into public view in 1992 as a paratroop commander leading a military rebellion that brought tanks to the presidential palace. When the coup collapsed, Chavez was allowed to make a televised statement in which he declared that his movement had failed "for now.'' The speech, and those two defiant words, launched his career, searing his image into the memory of Venezuelans.

He and other coup prisoners were released in 1994, and President Rafael Caldera dropped the charges against them.

Chavez then organized a new political party and ran for president four years later, vowing to shatter Venezuela's traditional two-party system. At age 44, he became the country's youngest president in four decades of democracy with 56 per cent of the vote.

Chavez was re-elected in 2000 in an election called under a new constitution drafted by his allies. His increasingly confrontational style and close ties to Cuba, however, disenchanted many of the middle-class supporters who had voted for him. The next several years saw bold but failed attempts by opponents to dislodge him from power.

In 2002, he survived a short-lived coup, which began after a large anti-Chavez street protest ended in deadly shootings. Dissident military officers detained the president and announced he had resigned. But within two days, he returned to power with the help of military loyalists while his supporters rallied in the streets.

Chavez emerged a stronger president. He defeated a subsequent opposition-led strike that paralyzed the country's oil industry, and he fired thousands of state oil company employees.

The coup also turned Chavez more decidedly against the U.S. government, which had swiftly recognized the provisional leader who had briefly replaced him. He created political and trade alliances that excluded the U.S., and he cozied up to Iran and Syria in large part, it seemed, due to their shared antagonism toward the U.S. government.

Despite the souring relationship, Chavez sold the bulk of Venezuela's oil to the United States.

He easily won re-election in 2006, and then said it was his destiny to lead Venezuela until 2021 or even 2031.

"I'm still a subversive,'' Chavez said in a 2007 interview with The Associated Press. "I think the entire world has to be subverted.''

Playing such a larger-than-life public figure ultimately left little time for a personal life.

His second marriage, to journalist Marisabel Rodriguez, deteriorated in the early years of his presidency, and they divorced in 2004. In addition to their one daughter, Rosines, Chavez had three children from his first marriage, which ended before Chavez ran for office.

Chavez acknowledged after he was diagnosed with cancer that he had been recklessly neglecting his health. He had taken to staying up late and drinking as many as 40 cups of coffee a day. He regularly summoned his Cabinet ministers to the presidential palace late at night.

He often said he believed Venezuela was on its way down a long road toward socialism, and that there was no turning back. After winning re-election in 2012, he vowed to deepen his push to transform Venezuela.

His political movement, however, was mostly a one-man show. Only three days before his final surgery, Chavez named Maduro as his chosen successor.

Now, it will be up to Venezuelans to determine whether the Chavismo movement can survive, and how it will evolve, without the leader who inspired it.

Loading Slideshow...
  • June 30, 2011

    Chavez says on television from Cuba that he had a cancerous tumor removed from his pelvic region. He later says the tumor extracted was the size of a baseball. <em>Caption: In this photo downloaded from the state media Cubadebate web site, Cuba's Fidel Castro, left, and his brother Cuba's President Raul Castro, right, pose for a photo with Venezuela's President Hugo Chavez in his hospital room in Havana, Cuba, Friday June 17, 2011. (AP Photo//Cubadebate)</em>

  • July 4, 2011

    Chavez returns to Venezuela, but later travels to Cuba periodically for chemotherapy and medical tests. <em>Caption: Venezuela's President Hugo Chavez gestures after a meeting with Russia's Foreign Minister Sergey Lavrov in Caracas, Venezuela, Wednesday, Aug. 24, 2011. (AP Photo/Fernando Llano)</em>

  • Sept. 23, 2011

    Chavez says he completed chemotherapy and calls the treatment successful. Says later that tests show no reappearance of cancer cells. <em>Caption: Venezuela's President Hugo Chavez greets supporters from a plane as he arrives to La Fria, Venezuela, Thursday Oct. 20, 2011. (AP Photo/Fernando Llano)</em>

  • Feb. 21, 2012

    Chavez says his doctors found a new lesion in the same place where the tumor was previously removed, and announces plans to return to Cuba for surgery. <em>Caption: An altar boy prays next to an image of Venezuela’s President Hugo Chavez during mass supporting him in Managua, Nicaragua, Thursday March, 1, 2012. (AP Photo/Esteban Felix)</em>

  • Feb. 26, 2012

    Chavez undergoes operation that removes the tumor from the same location in his pelvic region. Says later that follow-up tests showed the tumor was "recurrence of the initially diagnosed cancer." <em>Caption: A supporter of Venezuela's President Hugo Chavez holds up a sign that reads in Spanish "Pray for Chavez" during an event event honoring Venezuela's President Hugo Chavez at the Teresa Carreno theater in Caracas, Venezuela, Thursday, Feb. 23, 2012. (AP Photo/Ariana Cubillos)</em>

  • March 24, 2012

    Chavez travels to Cuba to begin radiation therapy. <em>Caption: In this photo released by Miraflores Press Office, Venezuela's President Hugo Chavez, center, and his daughter Rosa Virginia, left, review the honor guard prior to their departure to Havana, at the Simon Bolivar airport in Maiquetia, Venezuela, Saturday March 24, 2012. (AP Photo/Miraflores Press Office/Francisco Batista)</em>

  • April 14, 2012

    Chavez travels to Cuba for second round of radiation treatment. <em>Caption: In this photo released by Miraflores Press Office, Cuba’s Vice President Jose Ramon Machado, left, receives Venezuela's President Hugo Chavez, center, and his daughter Rosa Virginia, right, upon their arrival at the Jose Marti International Airport in Havana, Cuba, Saturday April 14, 2012. (AP Photo/Miraflores Press Office)</em>

  • April 26, 2012

    Chavez returns to Venezuela following cancer treatment in Cuba, saying his latest round of therapy was successful. <em>Caption: In this photo released by Miraflores Press Office, Venezuela's President Hugo Chavez, right, speaks with members of his staff including Vice President Elias Jaua, left, upon his arrival to the airport in Maiquetia near Caracas, Venezuela, Thursday, April 26, 2012. (AP Photo/Miraflores Press Office, Efrain Gonzalez)</em>

  • July 9, 2012

    Chavez says at a news conference that tests show he is "totally free" of cancer. <em>Caption: In this July 5, 2012 file photo, Venezuela's President Hugo Chavez waves during a parade marking Independence Day in Caracas, Venezuela. (AP Photo/Ariana Cubillos, File)</em>

  • Oct. 7, 2012

    Chavez wins re-election to another six-year term, beating challenger Henrique Capriles. <em>Caption: Venezuela's President Hugo Chavez greets officials after a ceremony declaring him winner of Sunday's presidential elections at the Electoral Council in Caracas, Venezuela, Wednesday, Oct. 10, 2012. (AP Photo/Ariana Cubillos)</em>

  • Nov. 27, 2012

    Chavez announces he will travel to Cuba for more medical treatment. He says doctors have recommended he "begin special treatment consisting of various sessions of hyperbaric oxygenation." <em>Caption: In this photo released by Miraflores Press Office, Venezuela's President Hugo Chavez holds a sword that once belonged to independence hero Simon Bolivar at a meeting with his Cabinet, at Miraflores Presidential palace in Caracas, Venezuela, Monday, Dec 10, 2012. (AP Photo/Miraflores Press Office, Marcelo Garcia)</em>

  • Dec. 9, 2012

    Chavez announces that cancerous tumor reappeared and that he must travel to Cuba for another operation. He says the surgery could be complicated and that if he is unable to stay on as president, Vice President Nicolas Maduro should run in an election to take his place. <em>Caption: Backdropped by a portrait of independence hero Simon Bolivar, Venezuela's President Hugo Chavez talks during a press conference at the Miraflores palace in Caracas, Venezuela, Tuesday, Oct. 9, 2012. (AP Photo/Rodrigo Abd)</em>

  • Dec. 10, 2012

    Chavez travels to Cuba and undergoes surgery the next day. <em>Caption: In this Dec. 10, 2012 file photo released by Cuba's state newspaper Granma, Cuba's President Raul Castro, right, receives Venezuela's President Hugo Chavez at the Jose Marti International airport in Havana, Cuba. (AP Photo/Granma, File)</em>

  • Jan. 10, 1013

    Chavez misses his scheduled swearing-in ceremony, which was indefinitely postponed by lawmakers. Supporters stage symbolic inauguration in the streets of Caracas, swearing themselves in in their leader's place. <em>Caption: In this Jan. 10, 2013 file photo, supporters of Venezuela's President Hugo Chavez carry a life-size cut out image of him during a symbolic inauguration ceremony for Chavez, who was in Cuba for cancer treatment at the time, in Caracas, Venezuela. (AP Photo/Ariana Cubillos, File)</em>

  • Jan. 20, 2013

    Maduro says he is optimistic that Chavez will return to Venezuela "sooner rather than later." <em>Caption: In this Jan. 21, 2013 file photo, Venezuela's Vice President Nicolas Maduro listens a speech by Luisa Estella Morales, president of Supreme Court, during a special session marking the start of the judicial year in Caracas, Venezuela. (AP Photo/Fernando Llano, File)</em>

  • Jan. 22, 2013

    Information Minister Ernesto Villegas says no date has been established for Chavez's return. <em>Caption: In this photo released by Miraflores Press Office, Venezuela's Communications Minister Ernesto Villegas speaks during news conference in Caracas, Venezuela, Thursday, Jan. 24, 2013. (AP Photo/Francisco Batista, Miraflores Press Office)</em>

  • Feb. 13, 2013

    Maduro says Chavez is undergoing "extremely complex and tough" treatments. <em>Caption: Venezuela's Vice President Nicolas Maduro holds up a letter that he said it was sent by Venezuela's President Hugo Chavez to his supporters during a demonstration commemorating the anniversary of a failed coup attempt led by Chavez in 1992, in Caracas, Venezuela, Monday, Feb. 4, 2013. (AP Photo/Ariana Cubillos)</em>

  • Feb. 15, 2013

    Government shows first photos of Chavez in more than two months, says he is breathing through a tracheal tube. <em>Caption: In this photo released Friday, Feb. 15, 2013 by Miraflores Presidential Press Office, Venezuela's President Hugo Chavez, center, poses for a photo with his daughters, Maria Gabriela, left, and Rosa Virginia as he holds a copy of Cuba's state newspaper Granma at an unknown location in Havana, Cuba, Thursday, Feb. 14, 2013. (AP Photo/Miraflores Presidential Press Office)</em>

  • March 5, 2013

    Vice President Nicolas Maduro announces Chavez has died. <em>FILE - In this April 13, 2010 file photo, members of the National Revolutionary Militia, also called Bolivarian militias, hold up their guns and a painting of Venezuela's President Hugo Chavez at an event marking the 9th anniversary of Chavez's return to power after a failed 2002 coup, in Caracas, Venezuela. Venezuela's Vice President Nicolas Maduro announced on Tuesday, March 5, 2013 that Chavez has died. Chavez, 58, was first diagnosed with cancer in June 2011. (AP Photo/Ariana Cubillos, File)</em>