A federal judge upheld Colorado gun restrictions that limit the size of ammunition magazines and expand background checks on firearms sold online and between private parties.
In a ruling Thursday, U.S. District Judge Marcia Krieger said both laws are constitutional and that they don't infringe on individuals' right to bear arms.
The judge further said that limiting magazine sizes doesn't obstruct individuals' ability to protect themselves and that the expansion of background checks "is no more severe" than the requirements already in place before the new law.
Democrats passed the laws last year without Republican support.
Gun rights advocates and county sheriffs filed the lawsuit.
Democrats passed the laws in response to mass shootings in 2012 at a suburban Denver movie theater and Connecticut's Sandy Hook Elementary School.
Copyright 2015 Associated Press. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.