24 rescued from stuck Maryland roller coaster
By Associated Press
Aug 11, 2014 7:26 AM CDT
This image provided by Prince George's County Fire Dept. shows firefighters reaching riders stranded on a roller coaster at Six Flags America in Upper Marlboro, Md., Sunday, Aug. 10, 2014. (AP Photo/Prince George's County Fire Dept., Marc Bashoor)   (Associated Press)

UPPER MARLBORO, Md. (AP) — It took five hours to rescue 24 people stranded on a roller coaster in Maryland.

Prince George's County Fire officials said 17 adults and seven children were stuck at the top of The Joker's Jinx roller coaster Sunday at Six Flags America in Maryland.

Assistant Fire Chief Paul Gomez said the riders were sitting upright. A few had cramps, back pain and dehydration, but there were no major injuries.

A Six Flags America spokesman said in a statement that it is not yet clear what caused the ride to stop but that it has a computerized safety system that "performed as it is designed to."

Six Flags' website says the ride goes 60 miles per hour and upside down four times.