It all started with a security guard’s call to 9-1-1. A bank robbery was underway, he told the emergency operator before the suspects tied him up.

An officer was there within minutes, but could only watch helplessly as the suspects bolted out of the Bank of the West branch with three female hostages — two employees and a customer.

“I noticed that the front (door) of the Bank of the West opened slowly,” Jose Maldonado told CNN affiliate KOVR. “Three guys had three guns and had the guns to the hostages’ heads. They were petrified. Their faces were white. They were so scared.”

The suspects stole a bank employee’s SUV and raced out of the parking lot. Officers chased the vehicle.

One hostage, a bank employee, was either thrown or jumped from the vehicle after a few blocks, police said. She had been shot and was taken to the hospital. She is expected to survive.

‘Relentless’ gunfire

The chase continued as the suspects sprayed bullets, racing through neighborhoods and along Interstates. The California Highway Patrol joined the pursuit. One of their helicopters followed in the air.

It took authorities from Stockton to Lodi to Acampo and back to Stockton again.

Jones called the gunfire “relentless,” saying suspects fired on officers throughout the chase.

“They put our entire community and nearby communities at risk for a very long time,” he said. At least one of their weapons was an AK-47.

The chase ended in north Stockton shortly after a second hostage, who was also shot, either was thrown or jumped from the SUV.

Firefight erupts

Officers closed for a final showdown after shooting out the vehicle’s tires.

A firefight erupted as police approached. One of the hostages was still inside.

“It sounded like five minutes of straight gunfire,” Sam York told CNN affiliate KCRA. “It seemed like it wasn’t real.”

When gunfire ended, one of the suspects was dead. A second later died at a local hospital. The remaining hostage was found dead inside the SUV.

“It was not clear and will not be for some time when the hostage was shot or by whom,” according to Jones, who said there was evidence she may have been used as a shield.

The third suspect was wounded.

Jaime Ramos, 19, of Stockton, the surviving suspect, has been arrested and put into the San Joaquin County Jail on charges of homicide, kidnapping, robbery, and attempted murder, Stockton police said.