American debates over the war in Afghanistan tend to focus on how fast we can get our troops home and whether we can work with President Hamid Karzai's government to negotiate a peace deal with the Taliban. But at least as important to whether the country will hold together, and whether a return of the Taliban and al-Qaida will be prevented, is who will replace Karzai when his term ends in 2014. The United States must do everything possible to ensure a reformer wins that election.

The stakes are huge. If a warlord or corrupt politician wins the presidency, aid will be wasted and Afghanistan's economy — still dependent on billions in annual foreign aid, such as that pledged during the July 8 donor conference in Tokyo — will regress. Improvements in citizens' quality of life, such as dramatic increases in life expectancy, school enrollment and cell phone availability, are likely to be squandered. Worse, insurgents will have a rallying cry likely to resonate with millions of disaffected Afghans. Civil war could resume and control over large areas could be lost to the Taliban and al-Qaida.

But if the next Afghan president can be an even moderately serious reformer, the most likely outcome will not be pretty but will be better than defeat. Plenty of good leaders are up to the challenge. Possible candidates include Hanif Atmar, a former minister of both education and the interior who recently helped start a multi-ethnic political reform movement; economic wizard Ashraf Ghani; and the former foreign minister and presidential runner-up Abdullah Abdullah. Should such a reformer prevail, the Kabul government will continue its struggle to contain the insurgency in rural locales while absorbing the occasional body blow in populated areas. But it will probably be able to hold onto major cities and transportation routes and keep the nation's security forces intact. With the right mix of vice presidents and Cabinet leaders, and a sound approach to any peace talks with insurgents, it would also be likely to defuse threats of civil war along ethnic lines.