US president Barack Obama has said the country's mission in Afghanistan will shift to a support role in the spring and he will soon get recommendations from his top military advisers on US troop reductions.
Mr Obama said in a joint news conference with Afghan president Hamid Karzai that any withdrawal agreement must include an immunity agreement in which US troops are not subjected to Afghan law.
Mr Obama said the path of the US military remained clear and the war was moving towards a "responsible end" in 2014.
The two leaders met at the White House on the future of the US role in Afghanistan and the 66,000 American troops serving there.
The US military mission will shift from combat to support in the spring, a few months ahead of schedule.