At the request of Manhattan prosecutors, a judge Thursday dropped the attempted firearm possession case against the “The Lion King” staffer accused of trying to 3-D print a gun.

Assistant DA Matthew Sears moved for the dismissal of charges against Ilya Vett, 47, after investigators determined that the gun, when completed, could not be made operable.

Lawyers for the puppet technician, who lost his job over the allegations, blasted the Manhattan District Attorney’s Office for bringing the case.

“The decision to prosecute first and investigate second has cost Mr. Vett great emotional, financial and personal harm,” said defense attorney Mark Bederow. “ He expects to pursue civil legal remedies as a result of this flawed arrest.”

Vett has insisted from the outset he was simply printing an inoperable prop.

Last September, a colleague spotted the plastic object that looked like a revolver and called cops, who arrested Vett at the Minskoff Theatre on West 45th Street.

“I was making the gun as a gift to my brother,” he told police, according to a criminal complaint.

DA spokesman Danny Frost defended his office’s handling of the case, “New Yorkers who print 3D gun components should expect to be arrested, charged, and involved in a criminal case against them until a firearms investigation is complete.”