(WAVE/NBC News) A bill being considered by Kentucky lawmakers would make it illegal to insult or taunt a law enforcement officer to the point where it could provoke a violent response.

If passed it would raise the penalties to up to 90 days in jail.

Senate Bill 211 is sponsored by retired police officer and state Senator Danny Carroll.

“This is not about lawful protest in any way, shape, form, or fashion,” Carroll says. “This country was built on lawful protest and it’s something we must maintain our citizens’ right to do so. What this deals with are those who cross the line and commit criminal acts.” 

“If you see the riots, you see people getting in these officers faces, yelling in their ears, doing anything they can to provoke a violent response,” he adds.

The bill passed a committee vote on Thursday, but not without some opposition. 

State Senator David Yates told committee members the words in the bill are “dangerous” and would send the wrong message to the public. He added “good cops” have enough poise to keep their composure when they’re being insulted or yelled at.

“By having that kind of language in here, it makes my stomach turn, because I don’t think any of my good officers are going to provoke a violent response because someone did a yo mama joke or whatnot,” Yates said.

In addition, the American Civil Liberties Union of Kentucky, or ACLU had concerns about how the bill would infringe on free speech rights.

“It’s a cornerstone of our democracy that people should be able to verbally challenge police actions, even if its offensive, even if it’s using words that people don’t like,” Corey Shapiro, legal director of the ALCU Kentucky said. “That’s a cornerstone of the First Amendment, and that’s why we’re here.”

In addition, Senate Bill 211 would discourage local governments from defunding their police departments, and would hold those who give protesters objects that can be used as weapons criminally responsible.

The bill will head to the full Senate for a vote. If it passes, it will then go to the House. However, this legislative session ends March 30.