VENTURA, Calif. — 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.

The Ventura County Star (http://bit.ly/2vksoEF ) says 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.

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

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.