"The AR-15 and its analogs, along with large capacity magazines, are simply not weapons within the original meaning of the individual constitutional right to 'bear arms,'" District Judge William Young said in the court document.
Young argued that the assault weapons and the large capacity magazines banned in Massachusetts are not within the scope of the personal right to 'bear arms' under the Second Amendment of the US Constitution.
READ MORE: Parkland Students Return From Break to Strict Security (PHOTOS)
The court ruling comes amid a wave of nationwide demonstrations against gun violence and calls for stricter gun control following a mass shooting at a high school in Parkland, Florida, in which a former student killed 17 people with an assault rifle.
The Second Amendment to the US Constitution guarantees the right of Americans to keep and bear arms.