The exhausted travellers, the majority from Honduras, dispersed to the local migrant shelter and parks where volunteers offered them food.

Jonathan Perales, 22, arrived with his wife Heidy and their daughters ages 2 and 4. They’d been travelling since 4 am and arrived at the border after dark. They paid for bus tickets they could ill afford.

‘It was a great sacrifice, but it’s all for a better life,’ he said. ‘It’s not all good. We’re wet and we still don’t have a place to sleep.’

On the Mexican side, the foreign ministry said its government was in constant communication with members of the caravan explaining the migrants’ options. It said officials were already assisting some migrants who had crossed and requested refugee status.

‘We hope that the immigration officials and federal police have a humanitarian understanding,’ Corzo said. He said they were ‘worried that things could escape rational margins.’

Mexico’s southern border is notoriously porous and it was unclear how many of the migrants would attempt to cross legally at the bridge.

Some migrants crossed the river at a point where they could walk through shallow water, Corzo said. Others could opt for the rafts that ferry people – and historically migrants – daily across the river.

Tensions rose when an immigration activist who led a migrant caravan through Mexico last spring was arrested by federal police and immigration agents in Ciudad Hidalgo on the Mexican side of the border.

Irineo Mujica’s organization, Pueblo sin Fronteras or People without Borders, said he was detained during a peaceful march. Video circulating on social media saw several police and immigration agents pushing Mujica into an immigration agency van in a crowd of people. Mujica appeared to be resisting.

Corzo said police accused Mujica of slashing the tires of an immigration vehicle. Immigration officials said later in a statement that Mujica, who has dual U.S.-Mexican citizenship, is accused of property damage. It said Mujica attacked immigration agents, as well as local and federal police, after he was asked for his identification.

Mexico has said the Hondurans would not be allowed to enter as a group and would either have to show a passport and visa – something few have – or apply individually for refugee status, a process that can mean waiting for up to 90 days for approval. They also said migrants caught without papers would be deported.

Last night, a man from Pueblo Sin Fronteras who did not give his name, told migrants in Tecun Uman that they would try to cross en masse on Saturday morning.

In April, Mexican immigration officials had some success in dispersing the smaller caravan by processing many who decided to seek refugee status in Mexico, but some did continue on to the U.S. border where they were processed over several days.

Three weeks before U.S. midterm elections, Trump has seized on the caravan as a political winner for Republicans.

Marcelo Ebrard, who is set to become foreign relations secretary when President-elect Andres Manuel Lopez Obrador takes office on December 1, said Trump’s tweets need to be understood in the context of the upcoming U.S. midterm elections.

‘The electoral process is very near, so he is making a political calculation,’ Ebrard said in an interview with Radio Centro.

Trump’s stance, he said, was ‘what he has always presented,’ adding he saw ‘nothing surprising in it.’

Current Foreign Relations Secretary Luis Videgaray was also sanguine and viewed things through the lens of U.S. politics.

‘Nobody likes them (Trump’s comments). There’s no reason to give them greater transcendence or importance,’ Videgaray said from the United Nations where he sought the world body’s help processing asylum requests from the migrants. ‘What is important to us is the migrants, respect for human rights, their due protection, particularly the most vulnerable.’

Like Guatemala and Honduras, Mexico is a country of many migrants, raising the question of whether the political will exists for a confrontation.

Lopez Obrador wants to avoid repression against migrants and also to avoid angering the United States. He said this week that Mexico would offer jobs to Central Americans.

‘Anyone who wants to work in our country … will have a work visa,’ he said.

Juan Escobar, 24, said he had heard about Trump’s comments but said they would not dissuade the migrants from continuing their journey.