Police have arrested a 27-year-old man on parole for assault for allegedly stabbing two children in a Brooklyn elevator, killing one of them and critically injuring the other, a law enforcement official says.

Daniel St. Hubert was arrested in the Ozone Park section of Queens shortly after police identified him as a suspect in the Brooklyn stabbings at a news conference Wednesday evening, according to the official.

Investigators had received a tip about a cell phone St. Hubert had that enabled them to track the phone's pings, the official said. That in part led police to start staking out a home of a known associate of St. Hubert.

He was carrying another kitchen knife with him when he was found, the official said.

It wasn't immediately known whether he had an attorney.

St. Hubert was paroled on May 23 for domestic assault, and has a violent past that includes attacks on a corrections officer and a police officer, authorities said at a news conference Wednesday evening. Police say he's been arrested nine times in the past.