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: Lockdown-Violating Underground Gatherings Investigated Over Recent Spate of San Jose Shootings

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

READ MORE: The Game Changer: New Test Helps Doctors Find Hidden Prostate Cancer

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: Oakley School Board Interim Trustees Vote to Fill Vacant Seats; Reject Special Election

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