The Supreme Court will hear a Second Amendment case involving handgun regulations in New York City, rejecting a request from city officials to dismiss the case because the rules under dispute changed.

Instead, the court said Monday the question of whether the case is moot will be "subject to further consideration at oral argument," and attorneys representing three New York City gun owners and the New York State Rifle and Pistol Association, as well as city officials, should be prepared to discuss the issue then.

The justices are scheduled to hear arguments in the case Dec. 2, and the challenge to the New York City regulations marks the first Second Amendment case the Supreme Court will hear in nearly a decade.

Three New York City handgun owners and the New York State Rifle and Pistol Association challenged the city rules, which placed restrictions on where licensed firearms owners could transport their unloaded and locked handguns. Under the regulations, gun owners could keep their handguns in their homes or take them to one of seven shooting ranges located in the city but were barred from transporting the firearms outside of city limits. The gun owners said the regulations violated their Second Amendment right.

But after the Supreme Court agreed in January to take up the case, New York City changed the rules to allow firearms owners to transport their handguns to second homes and shooting ranges outside the city, which were previously prohibited under the initial regulations.

City officials then asked the Supreme Court to dismiss the case, arguing the change in rules gave gun owners and New York State Rifle and Pistol Association "everything they have sought in this lawsuit." But the challengers accused the city of attempting to head off a ruling that could’ve expanded the rights of gun owners.

The case also put the Supreme Court at the center of partisan bickering after four Democratic senators filed a friend-of-the-court brief with the court calling it “not well.” The brief, spearheaded by Rhode Island Sen. Sheldon Whitehouse, warned the justices that they could face public backlash if they didn't dismiss the gun rights case. In response to the filing, all 53 Republican senators sent a letter to the clerk of the Supreme Court encouraging the justices not to cower to what they said was an attempt to intimidate them.

The Supreme Court kicked off its newest term Monday and will hear a number of blockbuster cases involving gun rights, abortion, and immigration. Rulings are expected by the end of June, in the heart of the 2020 presidential campaign.