Kern County Fire Department crews battled a blaze inside an abandoned apartment building at about 6 a.m. Thursday morning.

The fire was first reported by a Kern County Sheriff’s deputy.

Crews on scene were faced with heavy smoke coming from a bedroom on the southside of the apartment. Firefighters used chainsaws to make entry and pulled a victim from the structure.

That individual was transported to a nearby hospital.