Q&A: Foreign forces in Afghanistan
International troops were sent to Afghanistan by the Western military alliance Nato after the Taliban were ousted in 2001 following the 9/11 attacks in the United States. Most foreign forces are scheduled to leave by the end of this year.
There are questions over how many - if any - foreign soldiers will remain after the 2014 deadline.
Under a bilateral security agreement (BSA), some foreign special forces would stay to conduct "counter-terror operations" and others to support and train Afghan forces, but this has not been signed by Afghan President Hamid Karzai. The US says it will pull all its forces out by the end of the year if the BSA remains unsigned.
Nato spent two years handing over security control - starting with Bamiyan in the summer of 2011 - and all areas had been transferred to Afghan forces by mid-2013.
On 18 June last year, the last districts - mainly along the eastern frontier, and in Kandahar, the birthplace of the Taliban - moved formally to full Afghan combat lead, completing the transition process. Correspondents said the practical effect of the handover was not great - but the symbolic impact profound.
How many Nato troops are there?
As of late February there were just over 50,000 Nato troops serving in Afghanistan from 49 contributing nations, the International Security and Assistance Force (Isaf) said.
Of these the bulk - about 34,000 - are US troops.
The number of US service personnel in Afghanistan peaked at about 101,000 in 2011, taking full Nato force numbers to about 140,000. But an extra 33,000 American soldiers sent as part of a "surge" were withdrawn in 2012, and Washington has carried on winding down combat operations since then.
Leaders of nations contributing forces in Afghanistan have been talking about withdrawal for some time. Both France and Canada ended their combat missions early, although they have yet to bring all their troops home.
Britain, the second largest contributor to Nato's Afghanistan operation, has about 5,000 troops in Afghanistan. Most of them will leave by the end of 2014. Other contributing countries include Germany, Italy, Romania and Jordan.
How successful has the mission been?
That depends on how you look at it.
One stated goal has been to prevent Afghanistan from being a "safe haven" from which al-Qaeda might plan attacks in other countries.
Most analysts agree that, by that yardstick, the Nato operation has in part been successful. Al-Qaeda's strength in the country has been reduced, although it still has a presence.
But if improving security for the average Afghan is the criterion by which success is measured, the answer is very different.
After more than a decade of war, the Taliban are a long way from being defeated and have been growing in strength. Many of Nato's territorial gains are by no means irreversible.
If the troop surge of 2010 was successful in stopping the Taliban's momentum in the south, it did not succeed in defeating the militants, especially in the north and centre where the alliance is thinner on the ground.
Insurgents have exacted a heavy toll - since 2001 more than 3,000 coalition troops have been killed in Afghanistan.
The pressure on Nato leaders to pull troops out has also been exacerbated by a series of "green-on-blue" attacks in which members of the Afghan security forces have turned their arms on coalition troops. At least 60 Nato personnel were killed in such attacks in 2012 - many more Afghan security force members have died at the hands of their colleagues, in so-called "green-on-green" attacks.
How ready are Afghan forces?
A cornerstone of Nato strategy has been to boost the size and effectiveness of Afghan security forces ahead of the Nato pullout. By 2013, the ANA had about 200,000 trained members.
There are similar numbers of Afghan police, who are less well trained.
Whether army and police numbers are scaled back after 2014 when Western financial support shrinks has still to be decided.
Afghan forces remain inconsistent, but those who train them say the best are as good as any army in a developing country.
But many people still question how the army would fare against the insurgents without help from Nato. Only time will tell.
How strong are the Taliban?
The Taliban and their allies have returned with a vengeance after their rout in December 2001.
The militants are thought to be only about 20,000 strong.
But it has become increasingly clear to Nato that it cannot win militarily against the insurgents, and many areas of the country are under their de facto control. Despite their strength it is far from certain, however, that they would have the power to retake Kabul once Nato leaves.
Do Afghans support the foreign presence?
Afghans have become increasingly angry at civilians being killed by foreign forces, in night raids, aerial bombardments and other attacks. Nato's failure to do better on this score is seen as a key factor in why support for its mission has fallen.
Relations between President Karzai and the US in particular have been strained by the killing of 15 Afghan civilians by an American soldier in March 2012, violent protests over the inadvertent burning of copies of the Koran at a US airbase and the emergence of a video which appeared to show US troops urinating on Taliban bodies.
However, many Afghans also say they fear the Taliban may return once foreign troops pull out.
Despite all this, Afghans remain optimistic about the state of their country, repeated polls commissioned by the BBC, ABC News and German broadcaster ARD have shown.