The Senate Judiciary Committee approved a ban on the sale and manufacture of more than 150 types of semi-automatic weapons with military-style features Thursday in a party-line vote.

The 10-8 vote came after a heated exchange between Sen. Dianne Feinstein (D-Calif.) and Sen. Ted Cruz (R-Texas), who Feinstein scolded for giving her a “lecture” on the Constitution.

It’s the fourth piece of gun control legislation to make it out of committee, and perhaps the one with the longest odds of becoming law given opposition from Republicans to a new ban on so-called assault weapons.

Committee Democrats first beat back four amendments offered by Sen. John Cornyn (R-Texas) that would have carved out exceptions to the ban. Cornyn asked for exceptions for victims of domestic violence, military veterans and those living on Southwest border states that he said were affected by Mexican gang violence.