BRIDGEPORT — A man accused of holding his ex-girlfriend hostage for several hours before allegedly stabbing her multiple times Tuesday was picked up in New York by Westchester County police, officials said.

Westchester County police announced Thursday night that they took 29-year-old Christopher Jirau, of Vyse Avenue in the Bronx, N.Y., into custody Wednesday night. In Bridgeport, the county police said, Jirau faces charges of attempted murder, home invasion, second-degree strangulation and first-degree unlawful restraint.

Westchester police said they “developed information” that Jirau — who was wanted in connection with an attempted murder in Bridgeport — was traveling through the area. Police set up surveillance on several parkways in southern Westchester County in the hopes of spotting his vehicle.

A patrol officer saw the suspect’s 2015 Nissan Maxima around 8:30 p.m. Wednesday, police said, on the Hutchinson River Parkway at Boston Post Road in Pelham, N.Y.

Police said the officer followed Jirau into the Bronx, where Westchester County and New York Police Department officers had the driver pull over. He was taken into custody without incident, police said.

County police said Jirau forced his way into his ex-girlfriend’s Bridgeport apartment on Tuesday and held her “against her will for several hours” before he stabbed her multiple times. Bridgeport police had active warrants for his arrest, county police said.

Jirau was booked at Westchester County Police headquarters in Hawthorne, N.Y., Wednesday night as a fugitive from justice. He was held overnight before he was taken to Westchester County Court in White Plains, N.Y., Thursday morning. Jirau waived extradition.

He was taken back to the county jail and will be turned over to Bridgeport police, according to Westchester County police.