FARGO, N.D. (AP) — A Minnesota man who walked away from a Fargo halfway house has reached a plea agreement with prosecutors.

Chad Sumner is charged in federal court with escape. Authorities say he was serving the last few months of a three-year sentence for child endangerment when he fled from Centre, Inc. on Jan 16. He was scheduled to be released from custody on March 2.

Court documents show that Sumner cut the strap from his electronic monitoring device and threw it in a garbage bin at a Fargo gas station. He was arrested in Red Lake, Minnesota, on Feb. 8.

The charge carries a maximum penalty of five years in prison. The plea deal calls for the government to recommend a sentence at the low end of the guideline range.

(© Copyright 2016 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)