As New York’s top prosecutor pledged to defend any challenges to the package of gun violence prevention measures signed into law Monday, a Republican lawyer who prosecuted a school shooter 18 years ago dismissed the effort as “feel-good” legislation in the wake of mass shootings that have rocked the nation.

The bill package increased the age to purchase a semi-automatic weapon from 18 to 21, and prohibits civilians from buying bulletproof body armor, measures Attorney General Letitia James called a crackdown on individuals and companies who promoted mass shootings such as the one at a Buffalo grocery store that resulted in 10 deaths last month.