WASHINGTON (AP) — The Supreme Court has rejected challenges to assault weapons bans in Connecticut and New York, in the aftermath of the shooting attack on a gay nightclub in Orlando, Florida, that left 50 people dead.

The justices on Monday left in place a lower court ruling that upheld laws that were passed in response to another mass shooting involving a semi-automatic weapon, the elementary school attack in Newtown, Connecticut.

The Supreme Court has repeatedly turned away challenges to gun restrictions since two landmark decisions that spelled out the right to a handgun to defend one’s own home.

Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.