SAN DIEGO (KGTV) — Three San Diego police officers were involved in a shooting at a Tierrasanta apartment complex on Saturday afternoon, according to the San Diego County Sheriff’s Department.

Firefighters were called to a structure fire reported on Tierrasanta Boulevard near Colina Dorada Drive. When the units arrived they smelled unattended food and entered the apartment complex. Neighbors tell ABC 10News they saw smoke coming out of a unit and filling the first floor hallway. A neighbor said he tried to knock on the door before calling for help, but there was no response.

Authorities say when firefighters entered, a man sitting on a couch pointed a handgun at them over his shoulder. They quickly exited the building and called in the SDPD for reinforcements.

Police established a perimeter around the flat before the man emerged around 1pm. He began shooting at officers, so the officers returned fire, according to the sheriff’s department. No officers were injured.

“There were three San Diego police officers and they fired back, they fired back, the man went back into the apartment,” said Lt. Amber Baggs, director of media relations for the sheriff’s department. “There’s a patio attached to his apartment, and he jumped off that patio and started running east across the parking lot, at that point we had officers at the perimeter, they heard a single shot and ABLE flew over their heads and they saw the man lying on the ground, and it appeared that he had a self-inflicted gunshot wound to the head.

The San Diego Sheriff’s Department was called to investigate the incident. They are still trying to determine if the man was also hit by one of the officer’s return shots.

The shooting will be investigated under a new protocol that requires an outside agency to investigate fatal shootings.

The man’s identity is withheld until the next of kin is notified.