NATO peacekeeping troops will take over security command from the U.S.-led coalition in the southern provinces at the end of July .