Bosnian police say a fire has engulfed a migrant center in the northwest of the country, injuring at least 29 people.

Police say the fire erupted early Saturday in the center located in Velika Kladusa, which hosts hundreds of migrants stuck in the Balkan country while trying to move toward Western Europe.

The cause of the fire was not immediately known. Local media aired video footages showing people jumping out through the windows amid thick gray smoke surging from the building.

Police say 29 migrants have been taken to nearby hospitals for checkup and treatment.

Several thousand migrants fleeing war and poverty in their countries have been passing through Bosnia toward the West. They mostly flock to the northwest that borders European Union member Croatia.