A federal judge has refused to dismiss the National Rifle Association's challenge to a 2018 state law that blocked people under age 21 from buying guns.

Attorney General Ashley Moody's office argued that Chief U.S. District Judge Mark Walker should dismiss the case, which challenges a law that the Legislature and then-Gov. Rick Scott approved after a gunman killed 17 people at Marjory Stoneman Douglas High School in Parkland.

But Walker, in an eight-page decision Friday, denied the state's request to dismiss the case, which is scheduled to go to trial in January. Walker made clear that he was not ruling on the NRA's underlying arguments that the law violates constitutional Second Amendment and equal-protection rights, only that the case should be allowed to move forward.