Gun owners in a Chicago suburb have just a couple of months to remove certain types of firearms from their homes or face fines.

The village trustees of Deerfield voted in favor of a complete ban on semi-automatic rifles, pistols, and shotguns with certain features. 

The ban also prohibits magazines that hold more than 10 rounds of ammunition.

The new ordinance goes into effect in June. Residents who keep the outlawed guns could be fined up to $1,000 per day.

“This is our fight. This is our generation’s fight, and we’re going to keep fighting,” Deerfield High School student Ariella Kharasch said, according to ABC-7 in Chicago. “Thank you for being part of that.”

Opponents of the ban said it makes Deerfield less safe.

“You are the bureaucrats that Thomas Jefferson warned us about,” said Dan Cox, a resident of Deerfield.

The ordinance was modeled after a proposal adopted in Highland Park back in 2013.