The United States and Afghanistan have said they have resolved disagreements on a bilateral security deal after lengthy talks in Kabul, although differences remain.
President Hamid Karzai said they were still divided over immunity for US soldiers who stay in Afghanistan after NATO withdrawal in 2014.
US Secretary of State John Kerry said Afghan sovereignty would be respected.
According to the BBC, in the partial bilateral security deal due to take effect next year, Karzai appeared to have secured a US agreement not to carry out attacks on Afghanistan without first consulting the Afghan authorities.
The deal will help determine how many US troops will remain in Afghanistan after the main foreign combat forces pull out at the end of 2014, the report said.
The officials of the two countries failed to resolve the contentious issue of who has jurisdiction for any crimes committed by US forces remaining in Afghanistan after 2014.
.