PORTLAND — Federal officials say a Pakistani man from South Portland has been released from jail 15 weeks after he was arrested on an immigration violation while police were investigating the attempted Times Square car bombing.

Ross Feinstein of U.S. Immigration and Customs Enforcement said Mohammad Shafiq Rahman, a computer programmer, was released from federal custody in Boston today after posting $10,000 bail.

Rahman and two men from Massachusetts were arrested on immigration violations on May 13 as investigators probed the May 1 attempted car bombing.

None of the three has been charged in connection with the Times Square case in which Faisal Shahzad, a former Connecticut man, pleaded guilty to terrorism and weapons charges.