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.

Deputies responding to a collision in Hesperia Tuesday morning were also called on to help wrangle stray cattle that wandered off after the crash.

The incident involved two big rigs and a motorcycle on Highway 395 near Main Street at about 12:02 a.m., according to the San Bernardino County Sheriff’s Department.

Investigators said one of the big rigs first hit an abandoned motorcycle, causing the truck to swerve into oncoming traffic and collide head on with another big rig, which was carrying a herd of cattle.

The cattle truck overturned, trapping the driver, who was later transported to a local hospital for treatment, according to a Sheriff’s Department news release.

The truck driver involved in the initial collision with the motorcycle was not injured.

Investigators are attempting to identify who left the motorcycle and why, the Sheriff’s Department stated.

Seven of the cattle were killed in the crash and seven others were euthanized at the scene after suffering severe injuries, the Sheriff’s Department stated.

The rest of the cattle were either rescued from the trailer or rounded up after the crash.

Video from the scene showed San Bernardino sheriff’s deputies helping to wrangle the stray cows.

The highway was closed for hours near Main Street due to the incident.

Anyone with information was asked to contact Deputy T. Rogoff at the Hesperia Station.

Correction: An earlier version of this story stated a person was killed in the crash. The story has been updated.