KABUL, Afghanistan — Afghans braved threats of violence and searing heat Saturday to vote in a presidential runoff that likely will mark the country's first peaceful transfer of authority, an important step toward democracy as foreign combat troops leave. The new leader will be challenged with trying to improve ties with the West and combatting corruption while facing a powerful Taliban insurgency and declining international aid.
Abdullah Abdullah, who emerged as the front-runner with 45 percent of the vote in the first round, faced Ashraf Ghani Ahmadzai, an ex-World Bank official and finance minister. Neither garnered the majority needed to win outright, but previous candidates and their supporters have since offered endorsements to each, making the final outcome unpredictable.
The two men differ more in personality than policy. Both promise to sign a long-delayed security pact with the United States, which President Hamid Karzai has rebuffed. That would allow nearly 10,000 American troops to remain in the country for two more years to conduct counterterrorism operations and continue training and advising the ill-prepared Afghan army and police. And both pledge to fight for peace and against corruption.
But their different ethnic backgrounds have highlighted the tribal fault lines in this country of 30 million ravaged by decades of war.
"I voted today for my future, because it is still not clear — the country is at war and corruption is everywhere and security is terrible. I want the next president to bring security above all and jobs," said Marya Nazami, who voted for Ahmadzai.
The White House praised Afghan voters for their "courage and resolve" in the second round.
"These elections are a significant step forward on Afghanistan's democratic path," it said in a statement. "We look forward to working with the next government chosen by the Afghan people."
Observer groups said the balloting was relatively smooth, although both candidates and observers said they had evidence of fraud ranging from ballot box stuffing to proxy voting. Several polling stations also opened late or failed to open at all because of security concerns, and many voters complained of ballot shortages.
The Taliban intensified attacks ahead of voting and warned people to stay away from the polls, but the Islamic militants failed to disrupt the first round. They stepped up attacks again ahead of this round, including an assassination attempt that narrowly missed Abdullah just over a week ago.
Despite a series of rocket barrages and other scattered attacks that Interior Minister Mohammad Umar Daudzai said killed 47 people, including 20 civilians and an election commission worker, the voting was largely peaceful. Daudzai also said 60 militants were killed.
Independent Election Commission Chairman Ahmad Yousuf Nouristani, speaking at a joint press conference after polls closed, said initial estimates show that more than 7 million Afghans voted, which would be equivalent to the first round on April 5. That would be a turnout of about 60 percent of Afghanistan's 12 million eligible voters.
Official preliminary results were to be announced on July 2, with final results released on July 22. Nouristani said his commission would release partial results in the coming weeks.
Many voters said they were eager to get the bilateral security agreement with the United States signed after seeing Islamic extremists seize large sections of Iraq in recent days, nearly three years after U.S. troops withdrew from that country. Iraq's Shiite-led government had discussed the possibility of a residual U.S. force but the two sides were unable to reach an agreement.
"Iraq is burning," said shopkeeper Abbas Razaye after voting in a mosque in western Kabul. "We need the foreign troops for the time being. Otherwise our history of civil war will repeat itself and Afghanistan will deteriorate even more than Iraq."
Abdullah, 53, whose mother was a Tajik, draws his support mainly from that ethnic group although his father was Pashtun. During the Soviet occupation of Afghanistan, he served as adviser to and spokesman for Tajik warlord Ahmad Shah Massoud, who was assassinated by al-Qaida two days before the Sept. 11, 2001, attacks.
Later that year, Abdullah became the face of Afghanistan's anti-Taliban movement after the U.S. toppled the Taliban government, giving frequent news conferences to international journalists. He served as foreign minister and then was the runner-up in Karzai's disputed re-election in 2009.
His supporters praise him for staying in the country during the civil war and fighting the Taliban, as opposed to Ahmadzai who lived in exile and at one point even had U.S. citizenship, which he gave up for his own failed bid against Karzai five years ago.
"Abdullah was always among the Afghans inside Afghanistan," said restaurant owner Mohammad Nahim, who cast his ballot in western Kabul. "Abdullah can bring peace and improve the economy."
Ahmadzai, a 64-year-old, U.S.-educated Pashtun, has gained the support of the country's largest ethnic group, particularly in the Taliban heartland in southern Afghanistan.
"According to our will, Ashraf Ghani is the best candidate and the rightful leader of our country," said Abdul Saboor Zamaria, who works for non-governmental organization in the southern city of Kandahar. "If Abdullah Abdullah is made our leader, more mistrust and rage will spread in our country and violence will keep increasing day by day."
Ahmadzai called on electoral officials to take the complaints seriously and investigate them.
"We will patiently wait for the final results of the election. Figures are on the way," he said at a news conference. "But the nation has proved that it wants a change, and we are the team for change."
Abdullah expressed concern about the independence of the electoral commissions, which were appointed by Karzai, and called on them to act fairly, saying the legitimacy of the future government depends on it.
"We are in a good position. I can say we are in a very good position, and it's up to the two commissions to make the announcement."
Karzai, who has led the country since the U.S. invasion and was constitutionally barred from seeking a third term, cast his ballot at a high school near the presidential palace. Many analysts say his decision to step down peacefully will be one of the major successes of his otherwise troubled legacy.
"Today your vote will lead Afghanistan toward a better future, better government and a better life," he said to his countrymen. "Afghanistan is taking another step forward in a transition toward security, progress and stability."
Associated Press writers Mirwais Khan in Kandahar, Afghanistan, and Kim Gamel in Cairo contributed to this report.