VACAVILLE, Calif. (KTXL) — A 7-year-old child was hospitalized after a car was struck with gunfire on Interstate 80 just outside of Vacaville.

A photo shows a car with several bullet holes, and the child was hit by at least one of them Monday afternoon.

According to California Highway Patrol, the child was riding in the back seat of a gray Honda Accord that was traveling down Interstate 80 near Alamo Drive when the shooting happened.

The family drove directly to NorthBay Medical Center emergency room in Fairfield. The condition of the child was not initially known, but officials later said it was not a life-threatening injury.

A tweet shows footage of the car arriving at the hospital with the California Highway Patrol arriving nearby. The caption reads “Happening Now In Solano County I80 Freeway Shooting Just Outside Vacaville With Infant Child Hit!!! Infant Was Transported In The Car Hit By 40 Caliber Rounds”.

“I saw the car on the tow truck, riddled with bullet holes unfortunately,” said Fairfield resident Charles Morgan.

“I just saw the family outside… Three females and maybe a husband, boyfriend, speaking with CHP. The bullet holes were on the driver’s side about eight bullet holes maybe from the driver’s side door through the back. What caught my attention was a car seat in the back… It just looked bad,” said Morgan.

It is unclear what prompted the shooting.