After video posted on Facebook Friday showed a group of people in Washington, D.C. shouting at former North Carolina Gov. Pat McCrory (R), a GOP state legislator introduced legislation to make shouting at a former state official a crime.

Republican state Sen. Dan Bishop, who proposed the bill, told the News and Observer that the legislation would “make it a crime to threaten, intimidate, or retaliate against a present or former North Carolina official in the course of, or on account of, the performance of his or her duties.” Bishop said that offenders of his proposed statute should serve a prison sentence up to five years.

In the video posted online Friday, a group of people shouted “shame on you” at McCrory as he walked through Washington, D.C., calling him “anti-gay” and a “bigot.”

Bishop, who was one of the sponsors of the anti-LGBT state law known as HB2, told the News and Observer that the crowd was a “a chanting mob” of “ubiquitous leftist rioters” and said that their actions were “dangerous.”