ABC News May 11, 2021

Police officer shot and killed in line of duty while serving search warrant to suspect

WATCH: Police officer fatally shot while serving search warrant

A California police officer has been killed in the line of duty and another one injured after they were shot while serving a search warrant.

The incident occurred at approximately 5:30 p.m. at an apartment complex in San Luis Obispo, California -- approximately 10 miles north of Pismo beach -- when the two officers arrived at the residence on Camellia Court, off of Margarita Avenue near South Higuera Street in the city, according to a statement issued by the city of San Luis Obispo.

MORE: Police officer shot in face and head by shoplifting suspect at department store

It is unclear how the incident began other than, at some point, the suspect opened fire on the two San Luis Obispo Police Department officers while they were serving a search warrant, according to ABC News’ Los Angeles station KABC.

One San Luis Obispo officer was killed in the shootout. A second officer was injured and transported to an area hospital where the officer is in stable condition and expected to survive.

MORE: 3 cops injured in possible explosion after being called to search vacant home: Police
KABC
A California police officer has been killed in the line of duty and another one injured after they were shot while serving a search warrant at approximately 5:30 p.m. at an apartment complex in San Luis Obispo, California on May 10, 2021.
MORE: Police officer killed just 1 day before retirement in high-speed chase

The gunman was killed at the scene after the two officers returned fire on the suspect.

The officer who was killed has not yet been identified by the department.

“This is a tragedy beyond measure for all of those who serve and care about our community,” said Derek Johnson, San Luis Obispo City Manager. “Our deepest condolences go out to the family. We are devastated by this loss,” he added.

MORE: Cop responds to house fire call to find his own home burning to the ground, saves lives of entire family

The apartment complex currently remains off-limits to the public as investigators continue to process the scene of the crime and speak with witnesses.

Authorities say there is no threat to public safety at this time and have asked people to avoid the area while they conduct their investigation. Additional information will be released as it becomes available.