NEW YORK (CBSNewYork/AP) — A big win for Uber drivers who rely on fares in the busiest parts of the city.

State Supreme Court Judge Lyle Frank has struck down a city law that would have limited for-hire cruising, calling it “arbitrary and capricious.”

READ MORE: Campaign 2021: Early Voting Begins In New Jersey And New York City

The law announced in August was set to take effect next year. It would have prevented ride share drivers and other for-hire livery vehicles from riding around the busiest parts of the city without passengers.

READ MORE: Many New Yorkers Canceling, Scaling Back Halloween Festivities Due To COVID Concerns

Uber sued the city to fight the rule and says it is pleased by the decision.

Mayor Bill de Blasio says he will still fight to keep the rule.

MORE NEWS: Alec Baldwin Was Told Gun Was 'Cold' Before Fatal Movie Set Shooting, Court Records Show

(© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)