The long-running struggle between the New York City government and Airbnb reached new heights on Wednesday as the City Council passed a law requiring the company to disclose its hosts and the company bankrolled a lawsuit filed on behalf of one of its hosts.

On Wednesday, the City Council passed a bill that would require Airbnb to report the names and addresses of its hosts to the city’s Office of Special Enforcement; failure to comply could be punishable by fines ranging from $5,000 to $25,000.