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.
Biographical information for this report was contributed by former Caracas bureau chief Ian James.
- AP Poll: Support grows among Americans for...
- IS attack on Afghan protest kills 80 people,...
- Political scandals linger as Philly readies...
- How Hillary Clinton chose Virginia Sen. Tim...
- Police say Munich suspect was obsessed with...
- AP PHOTOS: A selection of pictures from the...
- Hillary Clinton still hard to define despite...
- Penny-farthing owner keeps on riding
- Sarah Silverman: Bernie-or-bust Dems... 49
- Is Bernie Sanders an atheist? 42
- Clinton wins historic nomination,... 36
- After turmoil, Sanders, Michelle Obama,... 31
- Dems' division, emails roil party on... 28
- Trump says Russia should find Clinton's... 27
- Watch live at the Democratic National... 25
- In wake of email hack, Democratic chair... 23