The Rensselaer man who escaped a rape charges there on a technicality will go to prison for five years for his role in a Colonie burglary on Thanksgiving Day.

24 year old John Halacy pleaded guilty Thursday and will be formally sentenced in April. 

Along with his brother and another man, Halacy is accused of stealing $10,000 worth of items from the home.

He had been charged in Rensselaer County with raping two teenage girls in 2012. But the case was dismissed after an assistant district attorney failed to file paperwork waiving Halacy's right to a speedy trial.