A burglar stuck in a chimney died Saturday due to the homeowner lighting a fire in their fireplace says California authorities.

In the city of Huron, the burglar climbed in the chimney Friday night to rob the home but had gotten stuck. The man was found just before 3 p.m. on Saturday when the homeowner came home and lit the fireplace.

The homeowner claims to have heard the burglar scream from inside of the chimney and had tried to put the fire out, causing the house to fill up with smoke, the fire station reported.

Firefighters responded to the home and dismantled the chimney to rescue the burglar. But when they pulled him out, he was dead,
the Fresno County Sheriff’s Office said.

A sheriff’s deputy says, the coroner’s offices took away the body from the scene and will have an autopsy to determine his identity and the exact cause of death.