Special to The Washington Post For much of the 20th century before the 1979 Soviet invasion, Afghanistan was a peaceful country living in harmony with its neighbors. There was a king and a real government, which I witnessed in the 1970s when I frequently traveled there. Afghanistan had what I'll call a minimalist state, compared with the vast governmental apparatuses that colonialists left behind in British India and Soviet Central Asia. This bare-bones structure worked well for a poor country with a small population, few natural resources and a mix of ethnic groups and tribes that were poorly connected with one another because of the rugged terrain. The center was strong enough to maintain law and order, though never strong enough to undermine the tribes' autonomy. Afghanistan was not aiming to be a modern country or a regional superpower. The economy was subsistence-level, but nobody starved. Everyone had a job, though farm labor was intermittent. There was a tiny urban middle class, but the gap between rich and poor was not that big. There was no such thing as Islamic extremism or a narco-state. In 2002, I urged the Bush administration to focus on rebuilding Afghanistan's minimalist state, which had been destroyed by 30 years of war. Experts in Washington, some now closely associated with Richard Holbrooke, the U.S. special representative to Afghanistan and Pakistan, estimated then that it would cost the international community about $5 billion a year for 10 years to re-create a basic Afghan state that could counter any threat from al-Qaida or the Taliban. The keys were investing in agriculture, because that is where jobs lie; rebuilding roads that used to link the major cities and border towns, so the economy could take off; and investing in an Afghan army and police force. The country also needed a workable government model, modern and inclusive education and health programs, and a functioning justice system. We all know what happened. The Bush administration left Afghanistan underresourced, underfunded and in the hands of the CIA and warlords, and went off to fight in Iraq. When al-Qaida and the Taliban saw that George W. Bush was not serious about Afghanistan, they found it easy to return. The insurgency began in summer 2003, as the Taliban reoccupied large chunks of the country, used drug money to arm its men, and improved their firepower and tactics so much that the Joint Chiefs of Staff chairman, Adm. Mike Mullen, recently said the situation is 'serious' and 'deteriorating.' Now any operation to patch together a minimalist Afghan state would cost $10 billion to $15 billion a year and require tens of thousands more Western troops, which nobody is going to provide. Today Washington is bickering over what constitutes success in Afghanistan, whether the Obama plan will work, how many more troops and dollars are needed, and how to stop its alleged NATO allies from slipping out through the back door. Many dissenters in Washington, such as columnist George Will, insist that the Afghans are incapable of learning and unwilling to build a modern state. Others, including former British diplomat Rory Stewart, say Afghan society should be left alone. But the dissenters do not sufficiently acknowledge the Bush administration's failures that led us to this impasse. Worse, they offer no solutions. So what needs to be done? First, Americans and Europeans need to be told the truth: Their governments have failed them in Afghanistan in the last eight years, with not a single aspect of rebuilding the minimalist state undertaken until it was too late. The capital, Kabul, for example, got regular electricity only this year, despite billions of dollars in international aid. The terrorist threat has grown, and al-Qaida has spread tentacles throughout Africa and Europe. And the West must admit that the Taliban has become a brand name that resonates deep into Pakistan and Central Asia and could extend into India and China. Second, the minimalist state must be rebuilt at breakneck speed. President Obama understands this. His plan for the first time emphasizes agriculture, job creation and justice; on paper, at least, it's an incisive and productive blueprint. But will he be given the time to carry it out? The Democrats want to give him just until next year's congressional elections and then start bringing the troops home. The Republicans are looking for slipups, such as the apparent fraud in the presidential election last month, so they can pounce. But the administration needs up to three years for any chance of success. So Obama's first task is to create public and congressional support to give the plan sufficient time. Third, the insurgency can never be defeated as long as the rebels enjoy a haven. The retreating Afghan Taliban was welcomed in Pakistan in 2001 and is still tolerated there because of a certain logic put forward by the Pakistan army that mainly involves containing India's growing power in the region and in Afghanistan in particular. Bush never pushed this issue, choosing to treat then-Pakistani President Pervez Musharraf with kid gloves. Today the Islamabad government is divided between civilians and the military, and as the civilians show themselves more inept, the army's power is once again ascendant. In recent months the army has seemed more determined to take on the Pakistani Taliban -- since April it has lost 312 soldiers and killed some 2,000 Taliban members. Yet there is no strategic shift to take on the Afghan Taliban and al-Qaida in the tribal areas that border Afghanistan. Despite Holbrooke's attempts to pursue a regional strategy, there is still no breakthrough with Pakistan. And India continues to act tough with Islamabad, offering the Americans little room to maneuver. There is no easy way out of this quandary except time and more international aid to Pakistan. Last, there must be Afghan partners on the ground to help build a minimalist state. Bush ignored that too. The corruption, the growth of the drug trade and the failure to build representative institutions after partially successful elections in 2004 and 2005 were all glossed over, as Bush feted President Hamid Karzai and did not ask hard questions. The apparent rigging of the Aug. 20 elections has plunged Afghanistan into a political and constitutional crisis for which neither America nor the United Nations has any answer. But the electoral fraud was assured months ago when Karzai began to ally himself with regional warlords, drug traffickers and top officials in the provinces who were terrified of losing their jobs and their lucrative sinecures if Karzai lost. It seemed obvious to everyone except those who mattered in the West. To emerge from this mess with even moderately credible Afghan partners will be difficult, but it must be done. (The Americans could start by forcing Karzai to create a government that includes all leading opposition figures.) Without a partner, the United States becomes nothing but an occupying force that Afghans will resist and NATO will not want to support. Holbrooke's skills as a power broker will be sorely tested. The Obama administration can come out of this quagmire if it aims low, targets the bad guys, builds a regional consensus, keeps the American public on its side and gives the Afghans what they really want -- merely the chance to have a better life. There is no alternative but for the United States to remain committed to rebuilding a minimalist state in Afghanistan. Nothing less will stop the Taliban and al-Qaida from again using Afghanistan and now Pakistan to wreak havoc in the region and around the world. -- Rashid, a Pakistani journalist who has covered Afghanistan for 30 years, is the author of 'Taliban' and 'Descent into Chaos: The U.S. and the Disaster in Pakistan, Afghanistan and Central Asia.' 