A tree branch that fell on the tracks derailed a roller coaster car at a Six Flags amusement park Monday evening, leaving it dangling precariously.
Four people were injured on the Ninja ride at Six Flags Magic Mountain, the Los Angeles County Fire Department said. Two of the four were taken to a hospital as a precautionary measure.
The front part of the roller coaster detached from the track and hung at about a 45-degree angle, pointing to the ground.
The car was about 20 feet in the air, Los Angeles Fire Department supervisor Ed Pittmann told CNN affiliate KTLA.
Rescue workers climbed atop the track and used a thick rope to tie the front of the car to the track above.
By late Monday night, all 22 passengers had been rescued.
MORE on CNN.com