A man was found dead near a burning house in Volusia County on Thursday night, authorities said.

A call came in to dispatcher just before midnight about a fire at a home on River Drive in Ormond Beach.

The Volusia County Sheriff’s Office responded to the call, and when deputies arrived, they saw a man leaving the area on foot. A deputy tried to ask the man, identified as Michael Egli, 38, if he was the one who reported the fire, but the deputy was ignored.

Deputies said they then heard a gunshot. A short time later, Egli was found dead from what investigators think was a self-inflicted gunshot wound.

The state fire marshal's office is investigating the fire at the home, in which Egli lived.

An autopsy will be conducted to determine the cause of death, according to investigators.