The Department of Homeland Security defended Border Patrol agents' use of tear gas at the southern border Tuesday as dozens of migrants tried to breach the border fence in Tijuana.

Katie Waldman, a DHS spokeswoman, said: “Once again we have had a violent mob of migrants attempt to enter the United States illegally by attacking our agents with projectiles. As has happened before -- in this and previous administrations -- our personnel used the minimum force necessary to defend themselves, defend our border, and restore order. The agents involved should be applauded for handling the situation with no reported injuries to the attackers."

On "America's Newsroom" Wednesday, U.S. Customs & Border Protection (CBP) Deputy Commissioner Robert Perez said the gas was deployed after migrants gathered on the Mexican side began to throw rocks at border agents.

He explained that rock-throwers prevented agents from aiding women and children being passed over concertina wire that had been laid beyond the fence on the U.S. side.

"Thankfully, not only were none of our Border Patrol agents injured during that event just after midnight on New Year's Day, but thankfully, none of the migrants that did ultimately make it across the border that were ultimately apprehended, none of [them] were injured or hurt," Perez said.

Rep.-Elect Crenshaw: Dems' Wall Opposition All About 'Destroying' Trump Campaign Promise

'The Wall Is Non-Negotiable': Gorka on Trump's Main Objectives in 2019

Former Acting ICE Director and Fox News contributor Thomas Homan also appeared on "America's Newsroom" Wednesday and echoed Perez's remarks.

"The men and women of the Border Patrol have a right to defend themselves," Homan said. "If these illegal aliens are throwing stones, the use of tear gas is a minimum ... force necessary to protect themselves."

He warned that this will not be the last confrontation at the southern border, where thousands of Central American migrants have gathered to seek amnesty in the U.S.

"There's chaos at that border, which the Democrats don't seem to grasp," Homan said, arguing Democratic lawmakers have "offered nothing" in the battle over border wall funding.

"This is going to continue, unfortunately."

Watch more from Homan and Perez above.

NY Gov. Cuomo Pardons Immigrants at Risk of Deportation, Takes Swipe at Trump

'Sovereignty Is the Defining Issue': Malkin Says Trump Must 'Hold the Line' on Border Wall Funding