A California Highway Patrol officer was able to save three people who were stuck in a vehicle teetering over the edge of a cliff last week in Los Gatos. 

Torrential rainfall has battered California in recent weeks, causing flooding and mudslides that make travel dangerous. 

Someone called 911 last Friday to report a car that was teetering on a ditch in Los Gatos, a town about 20 miles north of Santa Cruz. 

California car on cliff

The officer calmly explained to three people how to get out of the car safely, according to the California Highway Patrol.  (California Highway Patrol - Santa Cruz)

California mudslide

Someone had called 911 to report the car was teetering over a ditch.  (California Highway Patrol - Santa Cruz)

When the responding officer arrived, he found that the vehicle was actually teetering over the edge of a cliff amid the inclement weather

"Officer Murphy, with his collective and calm voice, gave them clear and concise instructions on how to safely exit the car," California Highway Patrol explained. 

CALIFORNIA MAN NARROWLY ESCAPES DEATH BY FALLING BOULDER

Parts of California have been hit with more than 40 inches of rain since atmospheric river storms began in late December. 

UC Berkeley

A mudslide forcing a road closure at UC Berkeley.  (UC Berkeley Police)

A few more inches of rain are projected to fall on the state in the coming days, according to FOX Weather, but mudslides could continue to be a threat through the weekend and into next week. 

"Again, we cannot stress this enough," the California Highway Patrol said. "Please ONLY drive if it’s necessary. If you do need to drive please slow down, be aware of your surroundings, and give enough space between yourself and surrounding vehicles."

A woman surveys the site of a mudslide in Studio City, Calif.

A resident keeps watch on Fredonia Drive in Studio City where a mudslide is blocking the road during the storm on Tuesday, January 10, 2023.  (Sarah Reingewirtz/MediaNews Group/Los Angeles Daily News via Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

At least 19 people have died since the late December when the storms began. 

President Biden approved a major disaster declaration for California over the weekend, freeing up federal resources to help the state recover.