A New York City law on the books barring those convicted of so-called public corruption crimes from running for public office is unconstitutional, a Manhattan judge has ruled.

Six Queens voters sued the city in March to challenge Local Law 15, which prevents people with felony convictions relating to public corruption and honest services fraud from holding the office of mayor, public advocate, comptroller, borough president and council member.