Two East Bay men were arrested Tuesday after a botched robbery attempt at Google when they tried to unsuccessfully take a laptop from a man without paying for it, according to the Mountain View Police Department.

Around 1:30 p.m., officers responded to reports of a robbery on the 1600 block of Amphitheater Parkway. While en route, they learned that a car thought to be connected to the robbery had crashed into a pole.

According to witnesses, two men inside the car tried to run away, but thanks to an alert passerby and Google security, were detained, said a police department statement.

“When we arrived,” said the police report, “we spoke with the victim, who stated he had arranged to meet two men, later identified as 20-year-old San Pablo resident Luis Bravo and 19-year-old El Cerrito resident Bomani Bassette, to sell his laptop. The men arrived and asked the victim to sit inside their Nissan sedan while they inspected the laptop.”

As one of the men inspected the laptop, the other handed cash out of a window for the victim to take. As the victim reached to take the money, the driver of the car quickly accelerated through a parking lot in an attempt to get the victim to fall out of the car — and therefore not get the money he was owed, said police.

The victim eventually tumbled out of the car and began yelling for help. A passerby and Google security heard the cries, and as they ran over, the suspect vehicle hit a pole, stalling the car. The suspects jumped out, but were apprehended.

When police officers arrived, they took custody of the East Bay residents, who were arrested for robbery, assault with a deadly weapon, and kidnapping during a robbery, and transported to the Santa Clara County Jail.

The victim sustained minor injuries and was treated at the scene.