NEW YORK (AP) — A lawyer for a Pakistani man questioned in Massachusetts during the investigation of the failed Times Square bombing has complained about his treatment in jail.

Aftab Ali Khan of Watertown is charged with immigration fraud and lying to investigators. He is not accused of knowing about or participating in the botched attack.

READ MORE: Cuomo: New York State Hospital Workers Must Get Vaccinated, No Testing Option; New CDC Guidance Under Review

In court Thursday, his lawyer said he is being held in his cell 23 hours a day. She also said he was shackled “hand to foot” when she visited him recently.

A spokesman for the jail declined to comment.

READ MORE: Than Than Htwe Dies After Being Critically Injured In Subway Robbery Attempt

Authorities say Khan gave $4,900 to Faisal Shahzad, of Bridgeport, Conn., who was later convicted in the bombing attempt.

During Thursday’s hearing, Khan agreed to voluntarily remain in custody he awaits trial.

MORE NEWS: NYPD Trying To Identify Man Accused Of Attacking 11-Year-Old Girl, Making Sexual Threats

(Copyright 2011 by The Associated Press. All Rights Reserved.)