TRIPOLI (Reuters) - Migrants in a detention facility in the Libyan capital Tripoli have reportedly been seriously wounded in a random shooting, the U.N. migration agency IOM said on Tuesday.

IOM gave no more details of the incident which it said took place in a facility in Qasr Ben Ghashir, a southern suburb fought over by forces loyal to Libya’s rival governments.

IOM has been moving some migrants out of detention centers in Tripoli, which forces loyal to eastern commander Khalifa Haftar have been trying to take in a three-week offensive.

But more than 3,000 migrants are still in detention centers there, among them women and children, IOM said in a tweet.

Libya hosts more than 700,000 people who have fled their homelands, often trekking through desert in pursuit of their dream of crossing the sea to a better life in Europe.