U.S. Supreme Court justices on Monday grappled with whether to dismiss a challenge to a New York City handgun ordinance and sidestep a ruling that could lead to an expansion of gun rights.

The nine justices heard arguments in the first major gun case to come before the high court since 2010. The court's four liberal justices indicated they believe the case is moot because New York has since amended the law.

Conservative Justices Samuel Alito and Neil Gorsuch were most vocal in advocating for the court to issue a ruling but other justices gave little indication of their views.