Record higher voter turnout and long lines are just some of the ways to sum up one of the most hotly contested political elections in Venezuela’s history.

Hugo Chávez left the polling centers open later than expected as millions of Venezuelans casting ballots queued up in lines snaking along sidewalks and around blocks in many parts of Caracas.

With Chávez's challenger, Henrique Capriles, uniting the opposition, the contest between two sides that deeply distrust each other raised concerns as to whether a close election result would be respected.

But it was Chávez himself who dismantled any fears that the “Chavista” government would not relinquish control if Capriles did win.

"We will recognize the results, whatever they are," Chávez told reporters after casting his vote in Caracas.

Greeted at the polling center by American actor Danny Glover and Guatemalan Nobel Peace Prize laureate Rigoberta Menchu, Chávez said he was pleased to see a "massive turnout."

Some Venezuelans were nervous about what might happen if disputes erupt over the election's announced outcome.

"There's a little anxiety on one side and also on the other," said Deyanira Duarte, a housewife who voted for Capriles in downtown Caracas. She said she was worried about what could happen if there were a dispute.

Others said they were simply pleased to be out backing their candidate.

Carlos Julio Silva, a bodyguard employed by a private security company, said whatever his faults, Chávez deserves re-election for helping people with programs including free medical care and public housing.

"There is corruption, there's plenty of bureaucracy, but the people have never had a leader who cared about this country," Silva said after voting for Chávez at a school in the Caracas slum of Petare. "That's why the people are going to re-elect Hugo Rafael Chávez Frias."

I want to tell President Chávez, I want to tell him his cycle is over.

- Henrique Capriles

Chávez's critics say the president has inflamed divisions by labeling his opponents "fascists," ''Yankees" and "neo-Nazis," while Chávez backers allege Capriles would halt generous government programs that assist the poor.

During Chávez's final rally Thursday in Caracas, he shouted to the crowd: "We're going to give the bourgeoisie a beating!"

Reveille blared from sound trucks around the capital to awaken voters on Sunday morning, and the bugle call was later replaced by folk music mixed with a recording of Chávez's voice saying "those who love the homeland come with me." At many polling places, voters started lining up hours before polls opened at dawn.

Some said they waited in line for more than four hours to vote, while in other areas the lines moved more quickly.

Violence flared sporadically during the campaign, including shootings and rock-throwing during rallies and political caravans. Two Capriles supporters were shot to death in the western state of Barinas last weekend.

Troops were dispatched across Venezuela to guard thousands of voting centers Sunday.

Defense Minister Henry Rangel Silva said as he voted that all had been calm in the morning and he hoped that would continue. He said if any groups try to "disturb order, they should know there is an armed force prepared and equipped and trained... to put down any attempt at disturbances."

He didn't identify the groups to which he was referring.

Chávez held an impromptu news conference Saturday night, and when asked about the possibility of disputes over the vote, he said he expected both sides to accept the result. He says he has successfully emerged from about a year of cancer treatment.

"It's a mature, democratic country where the institutions work, where we have one of the best electoral systems in the world," Chávez told reporters at the presidential palace.

But he also said he hoped no one would try to use the vote to play a "destabilizing game." If they do, he said, "we'll be alert to neutralize them."

His opponents mounted a noisy protest in Caracas and other major cities on Saturday night, beating pots and pans from the windows of their homes to show displeasure with Chávez — and also their hopes for change. Drivers on downtown streets honked horns, joining the din.

The 40-year-old Capriles, a wiry former governor affectionately called "Skinny" by supporters, has infused the opposition with new optimism, and opinion polls pointed to him giving Chávez his closest election.

Some recent polls showed Chávez with a lead of about 10 percentage points, while others put the two candidates roughly even.

"Chávez is going to fight until his last breath. He doesn't know how to do anything else," said Antonio Padron, a bank employee backing the president.

Padron expressed optimism that the 58-year-old Chávez would win, noting the leader has survived a fight with cancer that has included surgery, chemotherapy and radiation treatment.

But Padron predicted a close finish: "It's a tough fight. The opposition has never been this strong."

Chávez won the last presidential vote in 2006 with 63 percent of the vote.

A former army paratroop commander first elected in 1999, Chávez has presided over an oil boom and has spent billions of dollars on government social programs ranging from cash benefits for single mothers to free education.

But he has suffered declining support due to one of the world's highest murder rates, 18 percent inflation, a deteriorating electrical grid and a bloated government accused of endemic corruption and mismanagement.

While his support has slipped at home, Chávez has also seen his international influence ebb since he emerged in the mid-2000s as leader of a like-minded club of newly elected Latin American leftist presidents.

"I want to tell President Chávez, I want to tell him his cycle is over," Capriles said at his final campaign rally Thursday.

Capriles says Chávez has stirred up hatred, hobbled the economy by expropriating private businesses and squandered oil wealth. He criticized Chávez's preferential deals supplying oil to allies, including one that lets Cuba pay with the services of Cuban doctors.

"We aren't going to finance the political model that exists in Cuba," Capriles said in a TV interview last week. "But we aren't going to break off relations with Cuba."

Chávez accumulated near-absolute power over the past decade thanks to his control of the National Assembly, pliant institutions such as the Central Bank and friendly judges.

Gino Caso, an auto mechanic, said he would vote for Capriles because he thought Chávez was power-hungry and out of touch with problems such as crime. He said his son had been robbed, as had neighboring shops.

"I don't know what planet he lives on," Caso said, gesturing with hands blackened with grease. "He wants to be like Fidel Castro — end up with everything, take control of the country."

Political analyst Ricardo Sucre said he expected the election to show "two halves, more or less even." Regardless of the result, he said, Venezuelans are likely to remain deeply divided by politics for years to come.

Based on reporting by the Associated Press.

Follow us on twitter.com/foxnewslatino
Like us at facebook.com/foxnewslatino