New York City has hit a dead end in its attempt to hold gun manufacturers liable for the flow of illegal arms into New York.

The U.S. Court of Appeals for the Second Circuit yesterday dismissed the city’s suit, upholding an act of Congress that insulated Smith & Wesson and other gunmakers from liability while holding that New York’s public nuisance law does not fit into an exception in the act.