Federal agents and police detectives arrested a Connecticut man, a naturalized United States citizen from Pakistan, shortly before midnight Monday for driving a car bomb into Times Square on Saturday evening in what turned out to be an unsuccessful attack, Justice Department officials announced.

The man, Faisal Shahzad, 30, was believed to have recently bought the 1993 Nissan Pathfinder that was found loaded with gasoline, propane, fireworks and fertilizer in the heart of Times Square, a person briefed on the investigation said.