(Reuters) - Tensions between Republicans and Democrats boiled over on the floor of the Texas Legislature on Monday as protesters filled the gallery on the last day of the session to denounce a new law cracking down on cities giving sanctuary to illegal immigrants.

With the state House of Representatives in Austin preparing to adjourn, a bystander’s video showed one lawmaker appearing to shove a colleague as about a dozen others rushed together in an angry clutch before tempers cooled and the two sides separated.

Afterward, one of the legislators at the center of the confrontation said in a statement on Facebook that he was physically assaulted by a Democratic colleague while a second Democrat threatened his life.

Republican Matt Rinaldi’s statement said this occurred after he told Democratic lawmakers that he had tipped off federal agents about defiant protesters who were holding signs declaring their illegal immigration status.

Rinaldi did not immediately return calls or emails seeking further comment.

The incident highlights the raw emotions stirred by Republican efforts to put Texas in line with the priority that President Donald Trump has given to combating illegal immigration. Democrats, mostly representing urban centers that have defied federal policy, have condemned the crackdown.

Texas, which has an estimated 1.5 million illegal immigrants and the longest border with Mexico of any U.S. state, has been at the forefront of the immigration debate.

A bill, which both chambers of the Republican-dominated legislature approved on party-line votes and Governor Greg Abbott signed into law on May 7, aims to punish local authorities who fail to honor requests to turn over suspected illegal immigrants to U.S. Immigration and Customs Enforcement (ICE) agents.

It also allows police to ask people about their immigration status during a lawful detention, even for minor infractions like jay-walking.

Democrats have warned that the Texas law could lead to unconstitutional racial profiling. Civil rights groups have promised to fight it in court.