California - A Santa Maria police officer was shot and killed Saturday by a fellow officer who was trying to arrest him for suspected sexual misconduct with a minor, the Santa Maria Times reported.

The slain officer was on duty when police tried to take him into custody early Saturday, the Santa Maria Police Department said in a press release.

The suspect officer allegedly drew his weapon and fired. "In response, one officer on scene fired at the suspect officer hitting him once," officials said in a news release, according to the Times.

The wounded officer was taken to a hospital, where he died.

The name of the slain officer was not released. Authorities said he was being investigated on an allegation of sexual misconduct against a minor.