Attorney General Barbara Underwood has filed a lawsuit that would seek to bar the distribution of materials used to print and manufacturer a firearm through a 3-D printer.

The lawsuit was filed with New York’s attorney general office as well as state attorneys general in Washington, Massachusetts, Connecticut, New Jersey, Pennsylvania, Oregon, Maryland, New York, and the District of Columbia.

“It is, simply, crazy to give criminals the tools to build untraceable, undetectable 3-D printed guns at the touch of a button. Yet that’s exactly what the Trump administration is allowing,” Underwood said. “We won’t stand by as New Yorkers’ safety is jeopardized by this abrupt about-face by the federal government.”

The suit stems from Defense Distributed, a consortium that distributes open-source materials that could be downloaded to print 3-D guns, which filed a legal challenge in 2015 after the federal government forced the removal of the instruction manual from the internet.

President Donald Trump’s administration last month sought to settle the case, allowing the downloading of materials to construct the firearms.

Sen. Brad Hoylman, a state lawmaker from Manhattan, introduced legislation this week that would regulate printable guns.

“Thanks to the Trump administration, anyone in America or across the world–be it a teenager, felon, or terrorist–can evade a background check and manufacture a dangerous weapon with a click of a button. This is an existential threat to gun control as we know it,” Hoylman said. “It is unconscionable to put the lives of New Yorkers and Americans at risk just to satisfy the demands of the gun lobby. It’s now up to New York to close this deadly loophole that will allow dangerous individuals to access a gun on demand, and I’m proud to take those initial steps today.”