In this image supplied by MSF, a child lays wounded after a military sir strike on a camp for displaced people in Rann, Nigeria, Tuesday Jan. 17, 2017.  Relief volunteers are believed to be among the more than 100 dead after a Nigerian Air Force jet fighter mistakenly bombed the refugee camp, while on a mission against Boko Haram extremists. (Medecins Sans Frontieres (MSF) via AP)
In this image supplied by MSF, a child lays wounded after a military sir strike on a camp for displaced people in Rann, Nigeria, Tuesday Jan. 17, 2017. Relief volunteers are believed to be among the more than 100 dead after a Nigerian Air Force jet fighter mistakenly bombed the refugee camp, while on a mission against Boko Haram extremists. (Medecins Sans Frontieres (MSF) via AP) Credit: Medecins Sans Frontieres

A Nigerian air force fighter jet on a mission against Boko Haram extremists mistakenly bombed a refugee camp on Tuesday, killing more than 100 refugees and aid workers, a Borno state official said.

Military commander Maj. Gen. Lucky Irabor confirmed an accidental bombardment in the northeastern town of Rann, near the border with Cameroon, saying โ€œsomeโ€ civilians were killed.

It was believed to be the first time Nigeriaโ€™s military has admitted to making such a mistake in a region where villagers have in the past reported civilian casualties in the near-daily bombings targeting the Islamic militants.

The Borno state official, who was helping to coordinate the evacuation of wounded from the remote area by helicopters, said more than 100 refugees and aid workers were among the dead. He spoke to the Associated Press on condition of anonymity because he was not authorized to speak to reporters.

Doctors Without Borders said its team based in Rann counted 52 bodies and were treating 120 wounded.

โ€œThis large-scale attack on vulnerable people who have already fled from extreme violence is shocking and unacceptable,โ€ said Dr. Jean-Clรฉment Cabrol, the aid groupโ€™s director of operations. โ€œThe safety of civilians must be respected.โ€

The International Committee for the Red Cross said six workers with the Nigerian Red Cross were among the dead and 13 were wounded. โ€œThey were part of a team that had brought in desperately needed food for over 25,000 displaced persons,โ€ spokesman Jason Straziuso said in a statement from Nairobi, Kenya.

Two soldiers were also wounded, as well as Nigerians working for Doctors Without Borders, Irabor said, without giving a precise figure.

The general, who is the theater commander for counterinsurgency operations in northeast Nigeria, said he ordered the mission based on information that Boko Haram insurgents were gathering in the area, along with geographic coordinates.

It was too early to say if a tactical error was made, he said, adding that the bombing would be investigated.

Doctors Without Borders spokesman Etienne lโ€™Hermitte in Geneva urged authorities to facilitate cross-border land and air evacuations.

โ€œ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,โ€ the statement said.

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

Some of the 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. Of the nearly 300 schoolgirls who were abducted, 196 remain missing.

The bombings have helped drive Boko Haram out of many towns and villages and, according to Nigeriaโ€™s President Muhammadu Buhari, the insurgentsโ€™ last stronghold in the Sambisa Forest last month.

Boko Haramโ€™s 7-year-old Islamic uprising has killed more than 20,000 people and forced 2.6 million from their homes, creating the continentโ€™s worst humanitarian crisis, with the United Nations warning some 5.1 million people face starvation.