San Francisco Mayor Ed Lee has announced a new city office to make it easier for short-term vacation rental hosts to comply with laws as well as to make enforcement easier.

The San Francisco Chronicle reports that on Thursday Lee announced the Office of Short Term Rental Administration. The six-person office will streamline host registrations for people who use services such as Airbnb and investigate violators.

Short-term rentals were illegal in San Francisco for years, but the ban was rarely enforced before February, when the city legalized the practice with certain conditions, such as hosts registering with the city and a limit of 90 days a year for entire-unit rentals.

So far only about 700 hosts have registered with the city. There are more than 5,000 San Francisco listings on Airbnb.

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

Photo Credit: San Francisco Mayor Ed Lee gestures while delivering his State of the City address. Eric Risberg / Associated Press