CALAIS, France — Thousands of migrants lined up at dawn Monday as French authorities backed by armed police began the evacuation and destruction of the vast, squalid camp nicknamed "The Jungle."
Refugees gathered their few possessions and abandoned rows of tents and makeshift shacks ready to be taken to new locations across the country.
Most of those in line — who made treacherous journeys to escape war or grinding poverty and dreamed of making a life in Britain — had no idea where they were going next.
"There are rumors that they are taking them to warehouses," Tariq Shinwari, a 26-year old Afghan, told The Associated Press.
Nearly 6,500 migrants remain at the camp, on the outskirts of the port town of Calais, trying to sneak aboard ferries or freight trains heading across the English Channel to Britain. Fourteen migrants died in the area this year trying to stow away on wagons or trucks.
PHOTOS: France Clears "The Jungle"
Their nightly cat-and-mouse game with border police became a symbol of the inability of European governments to get to grips with the migrant crisis. The existence of the camp has also become an issue in France's presidential election.
In Britain, concern over immigration was one of the main drivers of this year's "Brexit" vote to leave the European Union.
French President Francois Hollande earlier this year announced authorities would clear "The Jungle" and officials began planning a complex operation to relocate migrants in hundreds of reception centers and shelters across the country.
On Monday, 60 buses were set to transport 3,000 migrants to an unknown future.
By week's end, the camp is expected to be emptied and destroyed.
Clashes broke out overnight as some migrants fled the camp early to avoid arrest or deportation, many of them setting fire to shelters and portable toilets in a final act of protest.
At first light, refugees formed snaking lines outside a huge temporary processing center where they were split into four groups — men over 18, families, minors and other vulnerable groups — then given wristbands that assign them to a new destination.
Motels and even disused castles are among the hundreds of centers officials have been converting to migrant housing.
Many of those waiting told NBC News' partner ITV News that they had no idea where they were going. A Sudanese refugee said he would rather sleep on the streets of a "big city" than be resettled in a rural town or village with fewer job opportunities.
France's interior ministry tweeted pictures of packed buses leaving the site, and said it had distributed leaflets in 9 languages explaining that the camp would be dismantled.
"It's going well. We knew this morning that there would be a lot of people, and that's what's happening," regional Prefect Fabienne Buccio said. "There was no pushing, the minors arrived. We had a particular concern for the minors, paid them particular attention, but it went well," she added.
Aid workers advised those waiting to register together as they believe it will give groups of friends or communities the best chance of not being separated.
Others warned that many migrants who remained determined to reach Britain would simply scatter into the countryside, only to regroup in Calais at a later date.
"Each time they dismantle part of the camp it's the same thing. You're going to see them go into hiding and then come back. The battles will continue," said Christian Salome, president of non-profit Auberge des Migrants.
Clearing the camp will be no easy task for authorities. In addition to tents and shacks for sleeping, the Jungle has sprouted makeshift restaurants, kitchens, stores and even a mosque and a church.
At the church, which was built by Ethiopian migrants, there was a special 4-hour service Sunday.
"This is a special service. The people are really fearing," Salamin, a man who acts as church keeper and activity planner, told The Associated Press.