The Afghan government signed a landmark deal with Washington on Sunday on terms of night raids conducted by US special forces, the BBC reported.
Those raids, which have been the source of increasing tensions between the two countries will now come under Afghan leadership, while US forces will play a supporting role.
The US military says the raids are an important way for finding and detaining suspected militants, while Afghans say they violate people's privacy and disrespect women.
More from GlobalPost: Poll: 69% of Americans want US out of Afghanistan
The agreement comes in advance of a planned withdrawal in 2014 of US and other foreign troops from Afghanistan.
The decision gives Kabul a veto over the operations that have contributed to anti-Western sentiment, said Reuters and has been a point of contention in negotiations between the two countries over the planned pull out.
CNN reported, under the new agreement, an Afghan review group will have to authorize raids before they take place and the special ops forces will operate under Afghan law.
At the signing on Sunday, Gen. John Allen said "today we are on an important step closer to our shared goal of a secure and sovereign Afghanistan. Together we will realize this vision."