U.S. District Judge Miriam Goldman Cedarbaum handed down the sentence Tuesday, agreeing with the prosecution's request to imprison Shahzad for the rest of his life.
Shahzad, a University of Bridgeport-educated accountant, was indicted on 10 counts relating to the May 1, 2010, attempted bombing and in June pleaded guilty to all 10 charges.
"Faisal Shahzad is a remorseless terrorist who betrayed his adopted country and today was rightly sentenced to spend the rest of his life in federal prison," U.S. Attorney Preet Bharara said in a Justice Department statement.
After he was captured trying to board a plane bound for Dubai, United Arab Emirates, Shahzad admitted to investigators he had recently received bomb-making training in Pakistan. He admitted he had brought the bomb vehicle to Times Square and attempted to detonate it, and also admitted if he had not been arrested he would have attempted to detonate another bomb in New York City two weeks later, the Justice Department said.