Updated

Authorities say a police officer under investigation for sexual misconduct with a minor was shot and killed by fellow officers trying to arrest him on California's central coast.

Santa Maria police Chief Danny Macagni said in a statement that the officer was on duty early Saturday when officers were sent to arrest him. Macagni says he physically resisted, then fired his gun.

Macagni says an officer coming to help the arresting officers shot him once, and he was declared dead at a hospital. No one else was hurt.

The chief says the dead officer, a four-year department veteran, had just learned of the internal investigation of an alleged relationship with a 17-year-old girl, and had to be arrested immediately.

The officer's name has been withheld until family is notified.