The New York City Council has approved a package of bills to regulate Uber and other ridesharing services, including a first-of-its-kind, one-year freeze on the number of vehicles allowed on the city streets.

Weathering a public relations offensive by ridesharing services in opposition to the vehicle cap, which was a factor in a failed attempt in 2015 by city leaders to rein in the fast-growing industry, the council approved the bill to impose the cap with 39 votes in favor and six votes against.