(CNN) Demetrius Anderson walked out of a Connecticut state prison in 2006 thinking he was ready to leave behind his criminal past and build a new life as an upstanding citizen.

The Philadelphia native stayed in Connecticut and stayed out of trouble. He has two jobs, lives in a nice apartment and belongs to a church.

But last week, eight US Marshals came to his home. He was certain they were after the wrong person. He hadn't committed a crime in more than 13 years. They insisted he come with them to court because he still had a 16-month federal sentence to serve for crimes he committed in Philadelphia.

A judge issued a bench warrant and Anderson was due back in court April 4, when it's possible he could be detained and sent to federal prison.

That apparently won't happen now after his lawyer said he reached a verbal agreement with prosecutors and the Bureau of Prisons to give Anderson credit for time "at liberty."

Read More