A convicted child rapist from Minnesota who moved to Maine after his release from prison pleaded guilty Thursday to a charge of failing to register as a sex offender.

Charles D. Roberson, 43, who had been living most recently in Hermon, faces up to 10 years in prison. His sentencing date was not immediately available.

Roberson pleaded guilty in 2004 in Minnesota to raping a 6-year-old boy and served a nine-year sentence in state prison, according to online Minnesota state court records.

Roberson missed his deadline to register as a sex offender in Minnesota last July and moved to Maine sometime between then and November without registering as a sex offender here, according to records in U.S. District Court in Bangor.

The U.S. Marshals Service began searching for Roberson in January and discovered that he no longer lived at his former address in St. Paul, Minnesota. A deputy marshal found Roberson by looking at his public postings on Facebook. Roberson posted last Nov. 22 that he had started working as a line cook at Dysart’s Truck Stop in Hermon and posted on Dec. 4 that he had moved to Hermon, according to an affidavit filed in Maine by U.S. Deputy Marshal Brian Doyle.

Doyle went to Dysart’s last month and obtained a copy of the job application that Roberson submitted last Nov. 2 on which he falsely claimed he had never been convicted of a crime, according to the affidavit.

“The Dysart’s personnel office confirmed on or about Feb. 2, 2016, that Roberson has been working 40 hours a week shifts as a line cook at the Hermon, Maine, location since Nov. 18, 2015. Roberson has also posted pictures of himself (“selfies”) wearing his Dysart’s work uniform. His facebook selfies match his sex offender registration picture,” Doyle wrote in the affidavit.