Follow KDKA-TV: Facebook | Twitter

ROCHESTER TOWNSHIP (KDKA) — A child was rushed to the hospital from a YMCA in Beaver County on Tuesday afternoon.

READ MORE: Driver Killed When Car Crashes Into Washington County Home

After initial reports of a near drowning, officials at the YMCA say the child instead was suffering from a medical condition.

They say a child with a pre-existing condition had a seizure in the locker room after swimming at the center.

READ MORE: City Of Pittsburgh Begins Disciplinary Process Against 8 Officers Involved In Jim Rogers' Death

The child was taken to the hospital for treatment, and is recovering.

Police and paramedics responded to the scene.

Beaver County YMCA officials say the child’s parents were notified immediately.

MORE NEWS: Ford Recalls 200K Cars Due To Braking Issues

Stay with KDKA for the latest on this developing story.