PITTSFIELD -- A homeless man was ordered to drug treatment after admitting he violated his probation for unarmed robbery by taking drugs.

On Thursday in Berkshire Superior Court, Christopher Allen, 40, admitted he tested positive for opiates and was drinking alcohol in violation of his probation. He was ordered by Judge John A. Agostini to stay at a drug treatment facility.

Allen's case was originally in Franklin County Superior Court but was transferred here earlier this year. The probation stemmed from a 2007 case that included armed and unarmed robbery and assault and battery with a dangerous weapon. He was sentenced to a 4- to 6-year prison sentence on the armed robbery and a decade of probation on the unarmed robbery.

He was released by Agostini to stay with a relative until a bed opens up at Keenan House, a residential drug treatment facility. The sentence was in line with a joint recomendation between the probation department and Allen's attorney, Marc C. Vincelette Sr.

Allen is homeless and requires weekly dialysis treatments, according to his lawyer.