VENTURA (AP) — Authorities have rescued three men — including one who was hanging upside down — after they became stuck on a bungee jump ride at the Ventura County Fair.

It happened shortly before 8 p.m. Wednesday.

READ MORE: Laugh Factory Hosts 'Remember Pearl Harbor' Fundraiser

It took at least 20 minutes before rescuers were able to reach a man who apparently had jumped from a crane and was stuck upside down about 30 feet in the air, according to the Ventura County Fair.

He was taken down by a ladder truck and wasn’t hurt.

READ MORE: Long Beach Confirms First Case Of Omicron; Patient Had Recently Traveled Internationally

Two other men were trapped in a steel box that also was attached to the crane. A harness attached to a rope system enabled each man to climb down safely.

It’s unclear what caused the ride to malfunction.

MORE NEWS: Police: Mark Shell Fired Shotgun At Teens Who Threw Water Balloons At His Pickup Truck In Ridgecrest

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)