HAYWARD (CBS SF) — Three golden retriever puppies were recovered safely from an overturned pickup truck after being stolen in Hayward, police said Monday.

In a post on the Hayward Police Department’s Facebook page, police said the victim had the puppies listed for sale online and agreed to meet with a man in South Hayward who claimed he wanted to buy one. When the purported buyer met with the seller on July 7 at around 12:45 p.m., the man pointed a gun at the victim and took the victim’s truck with the puppies still inside, police said.

READ MORE: VIDEO: Wind-Whipped Dixie Fire Ignites Homes In Greenville; Fire Crews 'Going Into Life Threat Mode'

Officers were alerted following a 911 call and found the truck headed northbound on Mission Blvd near Highland Blvd. The driver led officers on a chase which ended when the truck crashed and rolled over. The driver tried to flee on foot but he was quickly taken into custody by officers, police said.

READ MORE: PG&E Stock Dip Impacting Fortunes of Past Wildfire Victims

Hayward crash scene where three stolen puppies were found inside overturned truck. (Hayward Police Department)

The puppies were found inside the wrecked pickup trucked, and they were “a little shaken up” according to the Facebook post, but were comforted by officers until they were finally reunited with the victim.

The unidentified suspect was arrested and was being held at the Santa Rita County jail for carjacking, felony evasion in a vehicle, animal endangerment, possession of narcotics, and various weapons charges.

MORE NEWS: COVID: Case Surge From Delta Variant Leading to Health Care Worker Fatigue

Police advised online sellers that if they are uncomfortable about a transaction to ask to meet the other party at the police department.