San Francisco’s mayor vetoed legislation that would have capped Airbnb and other short-term rentals to a strict 60 days a year.

The San Francisco Chronicle reports that Mayor Ed Lee issued the veto Thursday, saying it would make enforcement of the current law more difficult and drive more people to rent out units illegally.

His veto means current law will remain intact. Hosts may continue to rent out entire homes for up to 90 days a year, and they can share their homes as often as they want if they stay on site.

Critics say short-stay rentals exacerbate an already tight housing market while hosts say they need the income.

Supervisors need eight votes to override his veto. The legislation passed with seven votes.

Copyright (2016) Associated Press. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.

This article was from The Associated Press and was legally licensed through the NewsCred publisher network.

Photo Credit: A HomeAway vacation rental at Golden Gate Park in San Francisco. The city's major rejected tougher restrictions on short-term rentals. HomeAway