Faisal Shahzad entered a surprise guilty plea Monday to the failed attempt to detonate a car bomb in Times Square on May 1.

Appearing before Southern District of New York Judge Miriam Goldman Cedarbaum, Shahzad, a Pakistan-born Connecticut resident, pleaded guilty to each count in a 10-count indictment, leading off with attempted use of a weapon of mass destruction. He faces life in prison when he is sentenced on Oct. 5.