The Mexican government announced Sunday evening that it will deport members of a group of nearly 500 migrants who rushed the U.S. border between Tijuana and San Diego, Calif.

In a statement, Mexico's interior department said these migrants were captured with the help of local authorities of the government from the state of Baja California and those who attempted to cross the border "violently" and "illegally" will be deported.

Videos and photos of the migrants, including children, crossing a footbridge over a canal in Tijuana as they headed to the border were posted to social media. The incident prompted both the U.S. and Mexico to shut down the port of entry on their respective sides.



Hundreds try to storm the border. Expect significant US response #tijuana pic.twitter.com/0T50XUnXtY — emma murphy (@emmamurphyitv) November 25, 2018



U.S. border agents fired tear gas at some of the migrants as they tried to break through the border fence.

U.S. Customs and Border Protection announced Sunday evening that the San Ysidro port of entry had reopened for cars and pedestrians, and confirmed that multiple illegal entrants were apprehended by Border Patrol agents. CBP also confirmed that multiple U.S. Border Patrol agents hit by rocks, and in response CBP personnel were "required to deploy crowd dispersing devices, to include pepper ball launching systems, and CS canisters."

Homeland Security Secretary Kirstjen Nielsen said DHS would "not tolerate this type of lawlessness."

"After being prevented from entering the Port of Entry, some of these migrants attempted to breach legacy fence infrastructure along the border and sought to harm CBP personnel by throwing projectiles at them," Nielsen said in a statement. "As I have continually stated, DHS will not tolerate this type of lawlessness and will not hesitate to shut down ports of entry for security and public safety reasons. We will also seek to prosecute to the fullest extent of the law anyone who destroys federal property, endangers our frontline operators, or violates our nation’s sovereignty."

The migrants are largely from Central America, part of a caravan of more than 5,000 that had been camped in and around a sports complex in Tijuana after making their way through Mexico in recent weeks.

Many hoped to apply for asylum in the U.S., seeking refuge from violence and poverty in their home countries, but agents at the San Ysidro entry point were processing fewer than 100 asylum petitions a day.

Editor's note: This story has been corrected to clarify that not all of the nearly 500 migrants will be deported.