(CNN) -- Fifteen children and eight adults are recovering from injuries after a school bus slammed into a car and rolled over near Harrisburg, Pennsylvania, authorities said.
The bus, carrying 22 people, was on its way to a children's camp when the wreck occurred Sunday, the Pennsylvania State Police said in a written statement.
Everybody on board the bus was taken to area hospital with injuries ranging from minor to moderate, the statement said. The driver of the car was also being treated for injuries, it said
Authorities said the crash took place when the driver of a Cadillac attempted to pass the bus but failed to see oncoming traffic. The driver, identified as 79-year-old Edward Shaffer of Hagerstown, Maryland, overcorrected and ended up in the path of the bus, it said.
The force of the crash caused the bus to roll over, the statement said.
Emergency crews were forced to extricate three children who were pinned in the bus, police said. Shaffer was also extricated from his car, police said.