Some riders got more than they bargained for when they went for a ride on a roller coaster at a Six Flags amusement park!

The Detroit Free Press says the roller coaster was called the 'Ninja" at the Six Flags Magic Mountain park in California. The roller coaster hit a tree branch along the route which dislodged the front car, leaving four people slightly injured and keeping nearly two dozen riders hanging 20 to 30 feet in the air for hours. News reports showed one of the cars dangling at an angle. All riders were alert during the evacuation process according to the park.

The accident comes nearly a year after a woman was ejected from a roller coaster at another Six Flags theme park. In September 2012, riders at another amusement park in California were also left dangling at 300 feet above the ground for three hours when a coaster broke down.

With all of the incidents surrounding roller coasters lately, are you going to think twice before getting on one?

More From Cars 108