The Pharr International Bridge in Texas, one of the major entry points along the southern border, was shut down after U.S. Customs and Border Protection agents said "waves" of illegal immigrants attempted to rush across it.

“At about 4 a.m. today, a group of 47 undocumented individuals attempted to illegally enter the United States in three waves via the Pharr International Bridge. Ignoring commands to stop, the group suddenly rushed the temporary barricades, bent metal poles and disabled the concertina wire affixed to the barrier,” a Friday statement from the CBP said.

Border agents were forced to use tear gas and pepperball launching systems after several men in the group assaulted officers.

The agents apprehended 16 people and plan to charge two with interference. Mexican officials collected the rest of the illegal immigrants.

The arrests come as border agents are dealing with a surge in illegal immigrants as well as thousands of asylum claims from Central American migrants.