Tapachula, Mexico CNN  — 

Honduran migrants in a massive caravan surged across a bridge leading to Mexico on Friday before they were halted in a chaotic confrontation with a phalanx of Mexican police in riot gear.

Chanting and cheering migrants pushed through or climbed over a steel gate until police threw tear gas and smoke canisters and pushed the migrants back. Video showed coughing and weeping migrants collapsed on the bridge. Several police and an undetermined number of migrants were injured.

As night fell, thousands of migrants remained packed together and exposed to the elements on the Suchiate River bridge connecting Tecun Uman, Guatemala, and Tapachula, Mexico, according to CNN crews on the ground.

An aerial view shows the migrant caravan waiting on the Guatemala-Mexico international bridge in Ciudad Hidalgo, Chiapas state, Mexico.

As the migrants formed into lines, Mexican authorities allowed a trickle of them, starting with women and children, to pass through gates and board buses for refugee camps.

It was unclear how many migrants would cross the border and how long that process would take. Mexican authorities have said they’d allow migrants to enter the country if they have valid visas or meet other requirements.

The caravan formed last Saturday in San Pedro Sula, Honduras, and arrived in Guatemala on Monday. Migrants in the group told CNN en Español they were bound for the United States, seeking work and fleeing political corruption and violence.

Leaders throughout the region have publicly urged them for days to turn back.

Pompeo: ‘This is an organized effort’

Four Mexican police officers were injured in the standoff at the Mexican border, Pompeo said Friday.

Speaking to reporters on a tarmac in Mexico City, where he’d been meeting with leaders about the caravan and other matters, Pompeo accused the caravan of using women and children “as shields as they make their way through.”

“This is an organized effort to come through and violate the sovereignty of Mexico,” Pompeo said.

Pompeo said he had a “good conversation” with Mexican President Enrique Peña Nieto and that the two countries are jointly focused on the caravan issue, but “the Mexican government is making all the decisions on how to address this.”

mexico guatamala bridge drone
Thousands of migrants try to cross into Mexico
00:47 - Source: CNN

“They are fully engaged. They sent 500 ‘federales’ down to the southern border,” Pompeo said, noting that he wanted to “express his sympathy” for the injured officers.

“That’s evidence of what this really is,” he said.

Peña Nieto called the confrontation a “unique incident,” saying the migrants did not follow the protocols that Mexican immigration officials put in place in anticipation of the caravan. He added that some migrants “assaulted and even injured” a number of unarmed members of the Mexican police before they could contain the violence.

“Mexico won’t allow anyone entering its territory in an erratic way and much less a violent way,” he said Friday night in a video statement released on Twitter.

Peña Nieto said Mexican officials would continue welcoming those traveling with the migrant caravan despite Friday’s incident.

“Mexico maintains its willingness to support migrants who decide to enter our country while respecting our laws,” he said.

Trump, who’s been criticizing the caravan with fiery tweets all week, reiterated his threat Friday that if Mexico doesn’t stop the migrants, he’ll take more drastic action.

“If that doesn’t work out, we’re calling up the military, not the Guard, we’re calling up the military, and we’re going to have the military stationed,” Trump said. “They’re not coming into this country. They might as well turn back.”

Trump has also threatened to cut foreign aid to Honduras, Guatemala and El Salvador.

Clash on the bridge

Members of the caravan gathered Friday morning in the border city of Tecun Uman. They waited in sweltering heat – with temperatures in the mid-80s and 70% humidity – for hours for others to arrive, packing streets for blocks on end.

They they streamed through gates on the Guatemalan side of the border around 12 p.m. Friday (2 p.m. ET), cheering and chanting as they marched. Celebratory air horns blared as they headed toward Mexico’s port of entry.

When they reached a padlocked steel fence near the Mexican side of the bridge, the sheer number of migrants allowed them to break through.

Mexican police pushed them back. Hundreds of Mexican Federal Police sealed the border as drones and helicopters hovered above the crowd.

At least a dozen migrants jumped into the river.

Some of the migrants on the bridge said they joined the caravan because they were desperate for work and had no other choice.

Mexican officials have said people seeking asylum will be processed at Mexico’s southern border. But it’s unclear what will happen next.

Click here to get the latest updates from the Mexico-Guatemala border

Will they reach the US border?

Mexican authorities haven’t said whether anyone from the caravan will be permitted to travel to the US border.

They’ve previously outlined how they planned to respond to the group, stating:

• Anyone with a valid visa will be able to enter and move freely.

• Anyone who wants to be recognized as a refugee or as a beneficiary of “complementary protection measures” must do so individually. Those who do so will be held “at a migratory station” for as many as 45 business days.

• Anyone who enters “in an irregular manner” will be “rescued and subject to an administrative procedure and, where appropriate, will be returned to their country of origin in a safe and orderly manner.”

Mexican authorities also have said they’re asking for help from the United Nations High Commissioner for Refugees to process migrants seeking refugee status.

This spring, when another caravan of Central American migrants crossed into Mexico, such policies allowed that group to make it to the US border.

The latest caravan comes weeks before high-stakes midterm elections in the United States, in which many Republican candidates have been echoing the President’s messaging about boosting border security and cracking down on illegal immigration.

Trump has pointed to the caravan as a key issue in the upcoming elections, describing the group’s approach as an assault on the US border. Immigrant rights advocates have accused his administration of trying to create a crisis to motivate his voter base.

Honduran and Guatemalan leaders talk

Hernandez met Saturday in Guatemala with his counterpart, Jimmy Morales, to work on “implementing a strategy and logistics for the return of Honduran migrants,” Hernandez said on Twitter.

Hernandez also sought permission from Guatemala to send Civil Protection personnel to assist Honduran migrants inside Guatemala on Friday, according to several posts on his official Twitter account.

In addition, Hernandez requested authorization to “hire ground transportation for those wishing to return, even airlifting special cases of women, children, the elderly and sick,” he said, thanking the Guatemalan government for “all the attention given to our Honduran brothers.”

CNN’s Bill Weir reported from Tapachula, Mexico, and CNN en Español’s Michelle Mendoza reported from Tecun Uman, Guatemala. CNN’s Catherine E. Shoichet wrote and reported from Washington and CNN’s Ralph Ellis wrote from Atlanta. CNN’s Jennifer Hansler, Betsy Klein, Nicole Chavez and Julian Quinones also contributed to this report.