OAKLAND (AP) — Fire inspectors visited an Oakland building three days before a blaze ripped through it, killing at least three people.

Documents released by the city of Oakland late Monday show inspectors found multiple violations Friday when they visited the building where recovering drug addicts and squatters lived in squalid conditions.

READ MORE: 6 Arrested After 2 Sideshows In Vallejo

A fire on Monday gutted the building and killed three people and injured four.

READ MORE: Plan For Urban Village At San Jose's New BART Station Raises Concerns With Local Businesses

An Oakland Fire Department inspection report shows the building lacked fire extinguishers, smoke detectors in every apartment and a working fire sprinkler system, among other violations.

Inspectors ordered the owner to immediately service the fire alarm and fire sprinkler systems.

MORE NEWS: Passenger Jet Narrowly Missed Truckee Homes When It Crashed

© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.