In his first congressional testimony since taking office, Panetta said Thursday that it is important to limit insurgents’ ability to create the perception that security in the Afghan capital is deteriorating.

Overall, he said, the US and NATO effort to stabilize Afghanistan is “headed in the right direction.”

Panetta is testifying before the Senate Armed Services Committee, alongside Navy Adm. Mike Mullen, chairman of the Joint Chiefs of Staff.