This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

***Related video above: Woman injured on state fair ride in Florida***

KING OF PRUSSIA, Pa. (WJW) – A young boy was taken to the hospital after getting entangled and hanging by his neck from a rope ladder at an indoor amusement park in Pennsylvania last week.

According to a Facebook post from the West Vincent Township Police Department, the 8-year-old was visiting Thrillz Park in King of Prussia Saturday. He was climbing on a rope obstacle when his head slipped through the rope.

Entangled in the rope and hanging by his neck, he became unresponsive and quit breathing.

A member of the police department was actually at the facility at the time, and when he saw what happened, jumped in to help. Another off-duty police officer and an off-duty nurse were also there, and the three worked together to cut the boy down and perform CPR.

“Thanks to their heroic lifesaving actions, the boy regained consciousness as paramedics arrived,” the post states.

The boy was taken to the hospital and released later in the day.

In a statement to FOX 29 in Philadelphia, the owner of Thrillz Park said the boy is recovering and commended everyone who helped out in this situation.

“We are told by police that the boy is okay and the injury is not serious,” the statement said, in part. “Our thoughts are with the family and we will be contacting them soon.”