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: Supply Chain Issues: 'There Really Are Problems Everywhere,' Even For Small Companies

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: COVID Vaccine 'Mix-And-Match' Study Finds Moderna Booster After J&J Single-Shot Produced Major Increase In Antibodies

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: Woman In Critical Condition After Being Struck By Sanitation Truck In Dyker Heights, Brooklyn

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