Hundreds of people in a caravan of migrants that crossed from Honduras into Guatemala tried unsuccessfully to breach the Mexican border on Friday as local governments began making preparations to disperse the convoy.

U.S. President Donald Trump has warned the Central American caravan must be stopped before it reaches the United States, and Honduras and Guatemala said late on Friday they were mobilizing to assist the return of Honduran migrants to their homeland.

Earlier, hundreds of Central Americans in the caravan of thousands poured through Guatemalan border posts in the town of Tecun Uman and onto a bridge leading to Mexico, only to be halted by dozens of Mexican police in riot gear.