Ellis Act is a state law passed in 1985 that allows an owner to evict tenants if he takes the building off the rental market. The Ellis Act allows landlords to get out of the rental business short of selling their property but does permit ways for a city to maintain some affordable units.