LOCKDOWN: Residents in San Diego have been told to stay indoors

Two officers were reportedly shot in the Boston Avenue area of San Diego, in the US state of California.

An armed man or men are said to be on the loose, with one suspect arrested.

One of the cops died while another is seriously injured.

Residents have been warned to stay inside and lock their doors.

SHOT: This is just the latest in a spate of cop shootings in the US

According to police, the officers were taken to Scripps Mercy Hospital following the incident late last night.

San Diego law enforcement department Tweeted asking the public to pray for the cops.

It came as the city's chief of police, Shelly Zimmerman, was spotted arriving at the hospital.

ARMED: A huge police presence has been seen all over San Diego after two cops were shot

This is just the latest in a spate of cop shootings in the United States.

In Baton Rouge, a group of officers were ambushed on July 17, with three shot and killed.

A sniper also killed five cops in Dallas after taking aim during a Black Lives Matter rally.

The protest group was demonstrating after a number of high profile killings of black men by law enforcement officials.