GILLETTE, Wyo. (AP) — A 30-year-old Gillette man who served another man's jail time to avoid his own legal problems will do his own prison time if a judge follows the recommendation of prosecutors.

Hans J. Heller pleaded guilty earlier this month to felony perjury under a plea deal that recommends a prison term of 2.5 to five years. Heller can argue for a lesser sentence.

A felony count of forgery and a misdemeanor count of interference with a peace officer were dismissed under the agreement.

According to court records, when a Campbell County sheriff's deputy stopped Heller on Aug. 18, Heller gave a false name because he was trying to avoid arrest on interference with a peace officer and failure to comply with child support and other charges.