"I think this is just the latest illustration of how Afghanistan continues to be a dangerous place. The security challenges in that country are significant, particularly when you consider an attack like this on police officers," White House Press Secretary Josh Earnest told reporters at his daily news conference yesterday.

The US and NATO allies have committed to stand with the Afghan people and the Afghan national security forces as they take full responsibility for the security situation in their own country, he said.

Citing the example of Kunduz, where extremists overrun Afghan national security forces that were protecting the city and Afghan forces were forced to flee the city, Earnest said what they did was they reorganised and acted quickly, with the support of the US and our NATO allies, to within a couple of weeks, retake the city.

"But the second thing it illustrates is that it illustrates the commitment that the Afghan national security forces have to fighting for their country. And that's a good thing, and that bodes well for their long-term ability to fight extremists and eventually secure their country," Earnest said.

Latest News from World News Desk