California first responders rescued a man who drove off a 400-foot cliff and was ejected from his vehicle Friday after they received a crash alert sent by his phone, rescuers said.

The Los Angeles County Sheriff’s Department search and rescue team responded to a crash at the Angeles National Forest after receiving an iPhone Crash Detection alert, which is designed to recognize severe vehicle crashes, around 11 p.m. PST, group leader Mike Leum told USA TODAY.

“Without that timely notification of the iPhone Crash Detection, nobody witnessed him going over, who knows if he ever would have been found.” Leum said. “He most likely would have bled out in a matter of an hour or so.”