Firefighters rescued two dozen people stuck on the Invertigo roller coaster at Great America amusement park after the ride broke down.
Firefighters extended long ladders with rescue platforms atop them to pull the stranded riders to safety one by one.
KCBS radio said the last of the riders was pulled to safety about 5:45 p.m. There were no reports of any injuries.
Helicopter camera footage showed riders waiting to be rescued sitting upright and dangling their feet as emergency personnel stood on ladders and platforms along the ride.
Never miss a local story.
KGO-TV said the riders were stranded between 30 to 80 feet above the ground.
Invertigo gives riders a loopy, twisting ride. The ride starts by backing the cars up an incline, then letting them go down the slope and through two twisting loops and up another incline, from which they run the course in reverse.
Initial reports said 32 people were stuck on the ride, but firefighters said the actual number was 24 -- four riders each on six cars.
To watch videos of the Invertigo coaster, scroll down to the video player below.