Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

MAIDUGURI, Nigeria — A Nigerian Air Force fighter jet on a mission against Boko Haram extremists mistakenly bombed a refugee camp Tuesday, killing more than 100 refugees and wounding aid workers, a Borno state official said. A Red Cross worker said 20 volunteers with the aid group had been killed.

The state government official, who was helping to coordinate the evacuation of wounded from the remote area by helicopters, spoke to The Associated Press on condition of anonymity because he was not authorized to speak to reporters.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

Military commander Maj. Gen. Lucky Irabor confirmed the accidental bombardment in northeast Rann, near the border with Cameroon.

This is believed to be the first time Nigeria's military has admitted to making such a mistake.

I sympathize with the families of the dead, and with the injured, and the Government and people of Borno State. — Muhammadu Buhari (@MBuhari) January 17, 2017

Among the wounded were two soldiers and Nigerians working for Doctors Without Borders and the International Committee of the Red Cross, Irabor said.

An ICRC employee told the AP that 20 Red Cross volunteers were among the dead. He spoke on condition of anonymity because he was not supposed to give information to reporters.

People walk at the site after a bombing attack of an internally displaced persons camp in Rann, Nigeria. MSF via Reuters

Doctors Without Borders said its team based in Rann had counted 50 bodies and treated 120 wounded. A statement from spokesman Etienne l'Hermitte urged authorities to facilitate land and air evacuations, saying, "Our medical and surgical teams in Cameroon and Chad are ready to treat wounded patients. We are in close contact with our teams, who are in shock following the event."

Irabor said he ordered the mission based on information that Boko Haram insurgents were gathering, along with geographic coordinates. It was too early to say if a tactical error was made, he said.

The general, who is the theater commander for counterinsurgency operations in northeast Nigeria, said the Air Force would not deliberately target civilians but there will be an investigation.

Villagers in the past have reported some civilian casualties in near-daily bombardments in northeastern Nigeria.

Some of the nearly 300 Chibok schoolgirls kidnapped by Boko Haram in 2014 and freed last year have said three of their classmates were killed by Air Force bombardments, according to the freed girls' parents.