Three family members were injured -- one critically -- when a log ride at a California amusement park malfunctioned Saturday.

>> Read more trending news

Officials said a girl and her parents were hurt at Castle Park in Riverside, with the mother in critical condition, KCBS reported. The incident occurred at 4:30 p.m.

“We responded to a call that said an individual was trapped on the log ride underneath one of the cars,” Capt. Brian Guzzetta with the Riverside City Fire Department told the television station. “When we arrived on scene, we noticed that one of the rides had malfunctioned.”

The three family members were thrown from the log-shaped car when it reached the bottom of a water slide, Riverside City Fire Department Battalion Chief Bruce Vanderhorst told KTLA.

The ride was shut down, but the park remained open, Guzzetta told KNBC.