BOSTON (CBSNewYork/AP) — A Pakistani man arrested in Massachusetts during the investigation into the failed Times Square bombing was willing to admit he lied to federal agents and be deported under a plea deal.

The Boston Globe reported that according to court papers, Aftab Ali Khan would plead guilty, be sentenced to time served while awaiting, trial, and be deported to Pakistan.

READ MORE: Gen. Colin Powell, Former Secretary Of State, Dies At 84 Due To Complications From COVID-19

Khan has been in federal custody since last May when he, his uncle and a man in Maine were arrested in connection and the failed attempt to bomb Times Square in New York City on May 1, 2010.

He was charged with immigration fraud and lying to investigators.

READ MORE: COVID Vaccine Mandate Takes Effect For Workers At New Jersey Schools, Colleges, Universities And State Agencies

Authorities say Khan unwittingly supplied $4,900 to Faisal Shahzad of Bridgeport, Conn., who was later convicted in the attempt. Khan was not accused of knowing about or participating in the plot.

A lawyer for Khan complained about his client’s treatment in jail, saying he was being held in his cell 23 hours a day and was shackled “hand to foot” when she visited him.

MORE NEWS: FDA, CDC May Approve COVID Vaccine Booster Shots For Millions This Week

(TM and Copyright 2011 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2011 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)