DENVER (AP) — Democrats rejected a Republican attempt to repeal restrictions on the size of ammunition magazines in Colorado.

Dozens testified for and against the proposal Monday before a House committee rejected the bill on a 7-4 party-line vote.

READ MORE: Denver Police Officer Shot Saturday Night, Suspect On The Loose

Democrats last year passed a law that prohibits the sale of ammunition magazines that hold more than 15 rounds. It became effective July 1.

READ MORE: $30,000 Reward Now Offered In 1970 Murder Of Marilee Burt

Republicans called the limit arbitrary and an infringement on the constitutional rights of law-abiding citizens. Supporters of the law say the goal is to limit damage from mass shooters.

Another repeal attempt is being heard in the Senate Wednesday, where Democrats also have the votes to stop it.

MORE NEWS: Colorado Air Force Reserve Takes To The Skies For Wildfire Training

The magazine limits are among a package of gun laws Democrats passed in the aftermath of mass shootings in Colorado and Connecticut.

(© Copyright 2014 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)