NEW YORK (AP) — New York Gov. Andrew Cuomo has signed legislation that ends the legal ban on so-called gravity knives, a term used to describe folding knives with locking blades that can be opened with a flick of the wrist.

In approving the bill Thursday, the Democratic governor — who had twice vetoed similar versions of the bill — said "the legal landscape has changed."

A federal district judge in March ruled the law was too vague and unconstitutional. The judge said that people should be able to know with certainty whether carrying a gravity knife is legal.

The knives are common work tools used by laborers, chefs and carpenters. The ban was first implemented in the 1950s to stem the use of switch blades by street gangs.