Updated

An illegal immigrant on a Greyhound bus who allegedly threatened to shoot and kill passengers on Friday — leading police on a chase from Wisconsin to Illinois — was deported five times, a U.S. Customs and Border Protection spokesperson told Fox News.

The spokesperson said on Sunday that Margarito Vargas-Rosas, 33, who faces terror charges, was in the U.S. illegally and was "removed" from the U.S. the last five times Border Patrol agents encountered him. He also had a previous DUI arrest to his name.

A judge in Illinois on Sunday ordered the suspect held without bond. Vargas-Rosas faces a fugitive-from-justice charge.

Police responded to a call around 9:40 p.m. Friday from a bus passenger who claimed there was a person threatening to kill people, Fox 6 reported, citing the Racine County Sheriff’s Department.

Vargas-Rosas, of Chicago, was reportedly pacing the aisle toward the back of the bus, and appeared to draw what passengers thought was a weapon from his waistband.

Deputies with the Milwaukee and Kenosha County Sheriff’s Offices both attempted to pull the bus over, but the driver didn’t stop the vehicle.

Racine County Sheriff Christopher Schmaling said the bus driver “thought it was a training exercise by law enforcement, or thought he was going to stop someone.”

Passenger Patrick Todd told The Chicago Tribune the bus occupants were confused by the driver's actions and kept yelling at him to pull over.

EMANUEL ROLLS OUT CHICAGO ID FOR 'UNDOCUMENTED' AND THOSE 'ON THE SIDELINES'

Authorities ultimately used spike strips to flatten the vehicle’s tires, which forced it to a stop on Interstate 94 near the Illinois community of Wadsworth.

While the bus eventually stopped, the driver, according to Dodd, “didn’t stop after the first spike strip, he went on to Illinois” before hitting the second spike strip.

Another passenger, Terrance Williams of New Jersey, said he thought police were escorting the bus, not realizing what was happening in the back. He was also confused about why the bus driver took so long to pull over.

"The law is, you see emergency lights, you pull over," Williams said. "(The police) were in front of us, they were in back of us."

“I think he ultimately recognized that this was a serious event when we spiked his tires,” Schmaling said of the driver.

Vargas-Rosas was ordered off the bus at gunpoint, according to Fox 6, and was taken into custody without incident. Schmaling said the man made threats to law enforcement as he was being transported to jail.

SANCTUARY CITIES: WHAT ARE THEY?

Officials didn’t locate a weapon on Vargas-Rosas, but said the bus will be thoroughly searched.

None of the nearly 40 people aboard the bus were injured.

Vargas-Rosas reportedly faces charges of felony terroristic threats and disorderly conduct.

Fox News' Katherine Lam, Bryan Llenas and The Associated Press contributed to this report.