Two people have been extremely lucky to survive a frightening incident in southern Idaho that left their pickup truck dangling above a gorge.

The incident occurred on Malad Gorge Bridge on I-84 earlier in the week when the driver of a 2004 Ford F-350 pickup truck towing a caravan lost control. Witness say the truck and caravan hit the right shoulder barrier then ricocheted into the left barrier, causing the truck to tip over the guardrail. The safety chain attached between the truck and the caravan is all that stopped the Ford from falling 80 to 100 feet into the gorge below.

Read Also: Owner Of Brand New Ferrari F8 Tributo Crashes Just Six Hours After Getting The Keys

Autoblog reports that truck driver Rod Drury pulled up to the scene shortly after the crash and after being joined by an Idaho state trooper, they anchored more chains from the pickup to Drury’s big rig to stop it from falling.

A team of emergency responders were quickly dispatched to the scene, including the Magic Valley Paramedics Special Operations Rescue Team. They proceeded to rappel down to the pickup truck and attach a harness to the 67-year-old male driver and his 64-year-old wife and raise them to safety. Both were transported to a nearby hospital with non-life-threatening injuries. Two small dogs were also saved from the pickup.

“This was a tremendous team effort that took a quick response and really showed the dedication and training of our community of first responders,” Capt. David Neth of the Idaho State Police District 4 in Jerome said. “This is something we train and prepare for, but when it happens and people’s lives literally hang in the balance, it takes everyone working together, and then some.”