Two people were shot outside a Vestavia Hills restaurant Saturday afternoon in what police are now saying was an accidental shooting.

A gun discharged, said Vestavia Hills police Lt. Michael Keller, while a man was trying to change a child’s diaper inside a vehicle. The shooting happened at 2:56 p.m. in the parking lot in front of the Chuck E. Cheese’s at the Olde Towne shopping center on Montgomery Highway.

One adult male was shot, reportedly in the chest, and taken to UAB Hospital Trauma Center. A little girl, believed to have been shot in the leg, was taken to Children’s of Alabama hospital . Both were rushed from the scene by Vestavia Hills Fire and Rescue with a police escort.

Vestavia Hills Fire Department Capt. Ryan Farrell said the man’s injuries were potentially life threatening.

Witnesses said the man appeared to be seriously injured, but the child looked okay. A witness said both victims were inside a vehicle when they heard a single gunshot. That’s when everyone got out of the car and people started screaming to call 911.

Three young men were either inside the vehicle with the victims or nearby when the shooting happened. They were visibly upset and were taken from scene by police but were not handcuffed.

Keller said the gun was inside a bag in the vehicle. The preliminary information is that the adult male victim was about to change the girl’s diaper when he came in contact with the gun inside the bag and it fired. The single bullet discharged hit him in the chest, and then the girl.

He said police are still trying to confirm that is what happened, and how that happened. It’s too soon, he said, to determine whether the situation will warrant any charges.

Keller said his message following the shooting is this: If you have a firearm, you should be trained and know how to operate it. Every weapon can be used in a serious manner and cause serious injury so you need to make sure the weapon is handled appropriately."

This story will be updated if more information is released.

This story will be updated