GIDDINGS, Texas (CBSDFW.COM/AP) – A man stabbed four people apparently at random, running frenetically from one attack to the next, before he was shot and killed by a police officer in the Central Texas city of Giddings the police chief said Tuesday.

All four victims in the Monday morning stabbings are expected to survive, Giddings Police Chief Haril Walpole said in a statement.

READ MORE: Appeals Court Ruling Keeps Abortion Ban In Place In Texas

The first victim was a 39-year-old woman who was stabbed outside her workplace, Chief Walpole said.

The attacker then ran along Highway 77 to a Texaco gas station where he stabbed and wounded the 62-year-old clerk behind the store counter.

After that, the attacker ran toward a parked pickup truck, flung open the door and stabbed a 49-year-old man who was sitting inside, Walpole said.

That victim was able to get out of the truck and a bystander intervened, prompting the attacker to flee, he said.

The attacker ran into his fourth victim nearby, stabbing the 55-year-old man several times.

“All of the victims appear to be random,” Walpole said.

READ MORE: Amtrak Train From Fort Worth Crashes In Oklahoma, Four Hurt

Walpole said officers responding to several 911 calls eventually encountered the man and told him repeatedly to drop the knife, but instead he approached a retreating officer who stumbled backwards onto the ground.

As the attacker came closer still, the officer opened fire, shooting him three times, Walpole said.

He died at the scene.

Chief Walpole did not provide the names of the attacker, his victims or the officers involved.

The officer who shot and killed the attacker has been with the Giddings Police Department for two years and holds the rank of sergeant.

He has been placed on administrative leave pending an investigation by the Texas Rangers.

MORE NEWS: Critical Race Theory Law Could Be Behind Latest Southlake Racism Controversy

(© Copyright 2020 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)