Two rezoning and redevelopment projects in New York City will proceed after a state Supreme Court justice in Manhattan on Thursday ruled against a legal challenge from residents in Manhattan and Brooklyn.

The residents claimed in a lawsuit against the city last year that the city’s environmental review of the rezoning projects was unlawful because it failed to consider how rent-stabilized tenants would be affected, particularly through gentrification.