This undated file photo provided by the Los Angeles Police Department shows suspect Christopher Dorner, a former Los Angeles police officer. A law enforcement official tells The Associated Press, Tuesday, Feb. 12, 2013, that a charred body inside the ruins of a mountain cabin that went up in flames is believed to be that of Dorner, suspected in four killings. Other agencies say a body has yet to be found. (AP Photo/Los Angeles Police Department, File)

SAN BERNARDINO, Calif. (AP) — Authorities say fugitive former cop Christopher Dorner died of a single gunshot wound to the head as authorities were pumping tear gas into a mountain cabin during a deadly gun battle with sheriff’s deputies.

San Bernardino County sheriff’s Capt. Sheriff John McMahon told reporters Friday that it appears the wound was self-inflicted.

Deputies said they heard one final gunshot from the cabin as it was going up in flames during Tuesday’s gunbattle.

Before he died, Dorner killed one sheriff’s deputy and wounded another during a fierce shootout.

Authorities initially were unsure whether Dorner killed himself, had been struck by a deputy’s bullet or had died in a fire that engulfed the cabin during the shootout.

Copyright 2013 The Associated Press.