New Jersey plans to sue President Donald Trump’s administration over rules governing guns made by 3D printers, state officials announced Wednesday.

The federal government plans to loosen regulations for firearm-designing software, according to the attorney general’s office. That change would make it easier for dangerous people to obtain so-called “ghost guns," state Attorney General Gurbir Grewal said in a statement.

The federal government should be doing more to keep those files from “felons and terrorists,” Grewal said. “Instead, they keep trying to make it easier to disseminate these deadly weapons."

A spokesman said at least 20 other states will join New Jersey in the lawsuit, which will likely be filed later this week.

The move is part of a broader campaign in the state against similar types of guns, and the files that make them possible. The state has arrested men for making them, threatened some manufacturers and sued others.

New Jersey is also still in court with a Texas-based company that’s challenged New Jersey’s “ghost guns” restrictions.

Blake Nelson can be reached at bnelson@njadvancemedia.com. Follow him on Twitter at @BCunninghamN.

Have a tip? Tell us. nj.com/tips.

Get the latest updates right in your inbox. Subscribe to NJ.com’s newsletters.