In the past five months alone, the company has spent nearly $1 million to overturn regulations in San Diego and has sued Boston, Miami, and Palm Beach County over local ordinances that require Airbnb to collect taxes or remove illegal listings. Elsewhere, Airbnb has fought city officials over regulations aimed at preventing homes from being transformed into de facto hotels and requests from tax authorities for more specific data about hosts and visits.

Airbnb is engaged in “a city-by-city, block-by-block guerrilla war” against local governments, says Ulrik Binzer, CEO of Host Compliance, which helps cities draft and enforce rules for short-term rentals, sometimes putting it at odds with hosting platforms. “They need to essentially fight every one of these battles like it is the most important battle they have.”

Related: Ruling deals setback to Airbnb, HomeAway in fights with cities