Update 11.30: A police officer has died and another has been hurt after they were shot in San Diego.
The wounded policeman is undergoing surgery.
The shootings follows recent attacks on officers in Dallas and Baton Rouge, in which 8 were killed by gunmen.
One person has been arrested in connection with the shooting.
Earlier: In the US, two police officers have been shot in California.
New police shooting in California: https://t.co/RXUtDMPNMS— Linda Stouffer (@LindaWSB) July 29, 2016
The San Diego police department says their condition is unknown they have one suspect in custody.
They are also searching for another suspect.
BREAKING: We have one suspect in custody. We are still searching the area for other possible suspects.— San Diego Police Department (@SanDiegoPD) July 29, 2016
It follows recent fatal shootings of officers in Dallas and Baton Rouge.