NEW YORK - (AP) - The man who plotted to kill Americans by drivinga homemade car bomb into Times Square and leaving it to explode hasbeen sentenced to life in prison.

A judge gave Faisal Shahzad a mandatorylife prison term at his sentencing Tuesday in Manhattan federalcourt. The bomb he had packed into the back of an SUV sputtered,injuring no one in a Times Square packed with tourists.

Calling himself a Muslim solider, a defiant Shahzad pleadedguilty in June to 10 terrorism and weapons counts.

Shahzad, a former budget analyst from Connecticut and aPakistani immigrant, was arrested two days after his May 1attempted bombing.

He told the judge a defeat of the United States is imminent.

Feds: NY Times Square bomber plotted 2nd attack

Former home of Faisal Shahzad being auctioned

Times Square car bomb suspect pleads guilty in NYC