CARMICHAEL, Calif. (CBS13) — A collision between a deputy’s patrol cruiser and an ambulance left a law enforcement officer and two paramedics with non-life threatening wounds, authorities said.

The California Highway Patrol said the Sacramento County Sheriff’s deputy and the ambulance were traveling “Code 3” — with lights and sirens active — while responding to different calls near the intersection of Garfield Avenue and Winding Way on Sunday afternoon.

READ MORE: 'It Meant The World To Me': Oakdale Officer Thanks Citizens Who Helped Him After Hit-And-Run

The deputy’s vehicle slammed into the side of the ambulance, flipping the larger vehicle onto its side and sending it into a residential backyard. It isn’t immediately clear who had the right-of-way.

READ MORE: Could Mask Mandates Drive Business To Surrounding Counties Who Don't Have One?

The two paramedics were able to exit the ambulance on their own and assist the deputy, who suffered significant facial injuries and is underwent surgery Sunday evening. Both of the paramedics was later transported to the hospital for treatment.

MORE NEWS: Kaiser Permanente Sued By Federal Government Over Alleged Medicare Fraud

The cause of the accident is under investigation.

This slideshow requires JavaScript.