KABUL, Afghanistan — Afghan President Ashraf Ghani has appointed a team of investigators to look into the circumstances leading to the Taliban’s brief capture of the northern city of Kunduz as well as a U.S. airstrike that destroyed a hospital and killed at least 22 people there, his office said Saturday.

The five-man delegation appointed by presidential decree will leave soon for Kunduz to conduct a provincewide probe of how the insurgents were able to overrun the city Sept. 28 and hold it for three days before government troops launched a counteroffensive, Ghani’s office said.

Part of the team’s mandate would include looking into the Oct. 3 airstrike on a trauma center run by the international charity Doctors Without Borders. The team would be led by the former head of the national intelligence agency, Amrullah Saleh, and would report to the president.

Ten days after government troops entered Kunduz, they are still fighting to clear out pockets of Taliban insurgents, officials and residents said.

Doctors Without Borders has called for an independent probe of the incident.