BANGOR, Maine — A New Hampshire man was sentenced Monday in U.S. District court to four years in federal prison for stealing mail from a temporary employment agency in Augusta, altering checks sent as payment for services and conspiring with others to cash the checks for him.

Ryan Robert Pomerleau, 32, of Seabrook, New Hampshire, also was sentenced to three years of supervised release and ordered to pay more than $87,750 in restitution.

He waived indictment in January and pleaded guilty to one count each of conspiracy to steal mail and theft of mail.

By pleading guilty, Pomerleau admitted that between July and October 2014 he and a co-conspirator, who is not named in court documents, stole mail from Capital Area Staffing Solutions, located on North Belfast Avenue.

Pomerleau altered and changed the names of the payees on the stolen checks or made counterfeit checks, according to the prosecution version of events to which he pleaded guilty. Pomerleau also paid at least four other people, who were not named in court documents, to cash the checks.

The defendant was arrested Oct. 6 in a room he had been renting at the Seabrook Inn in Seabrook, New Hampshire, the prosecution version said. During a search of his room and pickup truck, investigators found altered checks, counterfeit checks, check stock, a laptop computer, check-writing software, two typewriters, exacto knives, razor blades, colored pencils and erasers.

Pomerleau agreed in October following his arrest to be held without bail pending the outcome of his case. That time will be applied to his sentence.

He faced up to five years in prison and a fine of up to $250,000.