An Illinois town will soon implement an ordinance directing residents to hand in their semi-automatic firearms or face heavy fines.

The Deerfield Village Board voted unanimously in April in favor of an amendment to its gun ordinance to restrict some semi-automatic firearms.

Residents could face fines of up to $1,000 per day if they do not comply with the ordinance.

Current or retired law enforcement personnel are exempt from the law.

Illinois State Rifle Association Executive Director Richard Pearson explained on "Fox & Friends" Tuesday that the town wants to ban firearms such as the AR-15 rifle and other high-capacity magazines.

GA Teacher Assigns Students to Write Letters to Lawmakers Pushing for Gun Control

"It's a direct violation of state law, not to mention the Second Amendment," Pearson said, noting that the state's Concealed Carry Act passed of 2013 preempted local ordinances from such bans.

He said that the town has decided not to answer to the federal or state government regarding the ban.

"Right now we're looking for a temporary restraining order to prevent this from happening," Pearson said, adding that the ban goes into effect June 8.

Fox News reached out to the mayor of Deerfield for comment but has not yet received a response.

Pearson called the ban a "slippery slope" and said that "everything is at stake."

"We will fight this all the way to the Supreme Court without question."

'The 2nd Amendment Is Outdated': Phillips Talks to Students Marching for Gun Control

Caldwell: Chicago Murder Rate Shows 'False Narrative' on Strict Gun Control Laws

Gov. Cuomo 'Troubled' by NY Sheriff's Decision to Cooperate With ICE Enforcement