Democracy has failed in Afghanistan. That statement can’t make easy reading for Barack Obama, Gordon Brown or indeed anyone that believes in democracy. But has it failed, or was it simply always the wrong solution for Afghanistan?

No doubt the international community was wringing its hands before the election and in the interregnum before the aborted run-off, hoping for a clean, legitimate outcome, and probably for an Abdullah victory which would have signalled a new start. But that is nothing more than a ‘what if’now.

So how did Afghan ‘democracy’ end up here? In 2002, it was decided that a western model of democracy would be the best route to a Taliban – and al-Qaeda-free – Afghanistan. In the intervening years, however, the US and UK’s strategic and resource focus on Iraq meant that efforts to effectively quash the Taliban insurgency and bring economic development to Afghanistan have been unsuccessful.

Despite this, a ‘democratisation’ process, spearheaded by elections, continued. Critics point out, however, that key to the success of democracy is a sense of national unity, economic development and preserving local customs. Afghanistan has historically been an economically poor and highly decentralised tribal society. Installing a strong government at the centre through the mechanism of elections thus seems a curious priority. It is perhaps not unsurprising, then, that Afghan democracy was vulnerable to abuse. As Paddy Ashdown has asserted, this is not the fault of President Karzai, but rather the international community for attempting to patch on an unsuitable regime. So what options are there for the future?

Happily, there is a middle ground between the two starkest options of complete withdrawal and sending in more troops. The Pakistani journalist Ahmed Rashid takes a ‘minimalist state’ approach. Prior to 1979 and the Soviet invasion, Afghanistan was peaceful, albeit poor, with a subsistence economy that provided employment in agriculture. The government, though only a ‘bare-bones’ structure under a king, worked well because it was strong enough to maintain law and order but did not undermine the autonomy of the tribes.

In 2002, Rashid tried to convince the Bush administration that it should rebuild a ‘minimalist state’ to keep al-Qaeda and the Taliban out. Back then, Richard Holbrooke estimated that this might cost $5bn a year over 10 years. Today, it would cost $10-15bn a year and tens of thousands of extra troops. As this is now unlikely, and knowing the power of public opinion, Rashid suggests the first thing to be done is for the American and European people to be told the truth by their governments: that mistakes have been made; that the minimalist state approach should have been taken; and that the terrorist threat has grown and spread throughout Africa and Europe.

Second, the minimalist state should be rebuilt as quickly as possible, focusing on agriculture, job creation and justice. Third, more aid should be given to Pakistan to help fight the Pakistani and Afghan Taliban and al-Qaeda. Finally, Afghan partners on the ground should be cultivated – crucially, Karzai should be forced to bring all the leading opposition figures into the government.

The international community has both a moral obligation and a security imperative to finish what it started in Afghanistan. Hopefully, Obama’s new strategy will feature elements of the Rashid thesis and the end result will reflect the Afghan context and the needs of the people. This may not look like a democracy in the western model, but Afghanistan can still remain an ally in the fight against terrorism.

It is essential for the west to learn how to use democratic principles, if not ‘democratisation’ itself, to counter the threat posed by terrorism, and for western leaders to find better ways of explaining to their people why this is necessary. Losing the war against terrorism abroad would be catastrophic, but losing the argument at home about how to do it could be fatal.