The airstrike targeting the detention center in Tripoli's Tajoura neighborhood also wounded 80 migrants
An airstrike hit a detention center for migrants early Wednesday in the Libyan capital, killing at least 40 people, a health official in the country's U.N.-supported government said.
The airstrike targeting the detention center in Tripoli's Tajoura neighborhood also wounded 80 migrants, said Malek Merset, a spokesman for the health ministry. Merset posted photos of migrants who were being taken in ambulances to hospitals.
Footage circulating online and said to be from inside the migrant detention center showed horrific images of blood and body parts mixed with rubble and migrants' belongings.
The U.N. refugee agency in Libya condemned the airstrike on the detention center, which houses 616 migrants and refugees.
The Tripoli-based government blamed the self-styled Libyan National Army, led by Khalifa Hifter, for the airstrike and called for the U.N. support mission in Libya to establish a fact-finding committee to investigate.
A spokesman for Hifter forces did not immediately answer phone calls and messages seeking comment. Local media reported that LNA had launched airstrikes against a militia camp near the detention center.
The LNA launched an offensive against the weak Tripoli-based government in April. Hifter's forces control much of the country's east and south but were dealt a significant blow last week when militias allied with the Tripoli government reclaimed the strategic town of Gharyan, about 100 kilometers (62 miles) from the capital.
Gharyan had been a key supply route for the LNA forces.
The fighting for Tripoli has threatened to plunge Libya into another bout of violence on the scale of the 2011 conflict that ousted longtime dictator Moammar Gadhafi and led to his death.
At least 6,000 migrants from Eritrea, Ethiopia, Somalia, Sudan and other nations are locked in dozens of detention facilities in Libya that are run by militias accused of torture and other human rights abuses. Most of the migrants were apprehended by European Union-funded and -trained Libyan coast guards while trying to cross the Mediterranean Sea into Europe.
The detention centers have limited food and other supplies for the migrants, who made often-arduous journeys at the mercy of abusive traffickers who hold them for ransom money from families back home.
The U.N. refugee agency has said that more than 3,000 migrants are in danger because they are held in detention centers close to the front lines between Hifter's forces and the militias allied with the Tripoli government.
Libya became a major crossing point for migrants to Europe after the 2011 ouster and killing of Gadhafi, when the North African nation was thrown into chaos, armed militias proliferated and central authority fell apart.