CARACAS, Venezuela -- State governor Henrique Capriles handily won a primary vote Sunday to become the single candidate who will challenge Venezuelan President Hugo Chavez, launching a race to try to dislodge a leader who after 13 years in power still has a loyal following.
Opposition election chief Teresa Albanes announced the preliminary results, saying that Capriles won about 62 percent of the vote, beating Zulia state Gov. Pablo Perez by a margin of more than 30 percentage points.
Chavez's opponents lined up to vote in many areas, surpassing most expectations with a turnout of about 2.9 million ballots cast out of Venezuela's 18 million registered voters.
Capriles had been the front-runner in pre-election polls among five contenders. The 39-year-old governor of Miranda state has attracted a large following as a charismatic, youthful alternative to Chavez.
"He's going to be the candidate who can get us out of this giant hole we're stuck in," said Carmen Gloria Padilla, a 66-year-old telephone company employee who voted for him.
Hundreds of supporters celebrated the win outside Capriles' campaign headquarters, holding small flags emblazoned with the slogan "There is a way."
Some of Capriles' supporters said they think he has a good chance of winning over Venezuelans who otherwise might lean pro-Chavez because he has taken a largely nonconfrontational approach while promising solutions to problems including 26 percent inflation and one of the highest murder rates in Latin America.
Diego Prada, a 23-year-old marketing manager, said he thinks Capriles' inclusive approach offers a much better shot against Chavez than other competitors who have taken a hard line against the president.
"People are tired of so much confrontation," Prada said. As for Capriles, he said, "he has a message of unity."
The once-divided opposition has gained popularity in recent years, and the race could end up being the toughest re-election bid of Chavez's career.
The leftist president easily won re-election with 63 percent of the vote in 2006, but since then his popularity has declined, in part due to ills including crime and economic troubles.
Chavez's approval ratings have topped 50 percent in recent polls, and his struggle last year with cancer doesn't appear to have hurt his popularity. The 57-year-old president says he's cancer-free after undergoing surgery and chemotherapy last year, and has been energetic in his hours-long television appearances, apparently trying to show he can still keep up with a younger challenger.
Chavez remains a hero to many of his supporters and maintains a visceral connection to a significant segment of the poor in Venezuela. He also will use the full powers of his government and a bonanza of public spending to try to ensure a victory in the Oct. 7 election.
Chavez has already kicked his campaign machinery into gear. He has increased government spending by launching new social programs that offer cash benefits for the poor and invested heavily in new railways, public housing and cable car systems in Venezuela's sprawling hillside slums. As the election nears, he will inaugurate other big-ticket projects that grab attention, including the planned launch of Venezuela's second Chinese-made satellite shortly before the October vote.
But Chavez has warned voters that if they don't re-elect him, his social programs called "missions" would vanish. That threat, though disputed by Capriles, could have an influence on some in the run-up to the vote.
For the opposition, the primary showed its ability to mobilize voters, a key asset in its efforts to compete with Chavez. Lines formed on Sunday at polling stations in some poor neighborhoods that have traditionally been pro-Chavez strongholds.
"I decided to come to vote to express my complete unhappiness. In these 12 years, the country has gone downhill," said Ruben Rodriguez, a 59-year-old construction worker who was waiting in line to vote.
In order to compete, Capriles probably will need to win over voters who leaned pro-Chavez in the past, who have grown disillusioned with the government and who don't strongly identify with either side.
"Confrontation and fear are going to be part of that past," Capriles said after voting. "Hope can deal with any obstacle they put in our way. Today is a day of hope."
Other offices including state governor posts were also being decided in the primaries. Venezuelans living abroad were able to cast ballots in cities from Miami to Madrid.
Venezuela has grown heavily polarized, with most either admiring or despising Chavez. About one-fourth of voters are in neither political camp, and in that group about 10 to 15 percent are likely to cast ballots, said pollster Luis Vicente Leon. Many of the swing voters are young people who have grown up during Chavez's presidency, Leon said.
Recent polls before the primary vote showed Capriles with about 40 percent support among opposition voters.
Mercedes Aponte, a 60-year-old high school teacher, said she's convinced Capriles would bring improvements in education, health care and anti-crime efforts.
"Through him, there's hope. It's a new day dawning for Venezuela," Aponte said, waiting to cast her ballot in downtown Caracas in a line that snaked around the block.
Capriles may not be able to compete with Chavez's government money nor the president's ability to take over the airwaves of all TV and radio stations when he deems appropriate. But Capriles can count on ample campaign funding from anti-Chavez donors, as well as high visibility in opposition-aligned media including the television channel Globovision, private radio stations and newspapers.
The country's opposition coalition, which united to hold a presidential primary vote for the first time, has become better organized and will be an important ally in mobilizing voters for Capriles against Chavez's campaign machine. His vanquished rivals are also expected to unite behind him and help in his campaign.
Opposition presidential contender Maria Corina Machado, a congresswoman who takes a hard line against Chavez, conceded defeat even before the results were announced, saying she will back Capriles.
Associated Press writers Christopher Toothaker and Jorge Rueda contributed to this report.