Brian Burnham has agreed to a plea deal in federal court on charges on knowingly receiving child pornography, according to court documents.

Burnham, the 36-year-old former Assistant Scout Master for Boy Scout Troop 845 based out of Carrboro, agreed to a plea deal to a count of knowingly receiving child pornography from at least January 2009 through November 2014.

Burnham was also formerly the Baseball Coach at Smith Middle School.

Under details of the plea deal, US Attorneys will recommend sentencing Burnham to a prison term of between five and twenty years, and he will incur the maximum fine of $250,000.

Burnham was also facing a count of knowingly distributing child pornography. US Attorneys will not oppose a motion to dismiss that charge, according to the agreement.

Burnham will be required to register as a sex offender upon his release, if he chooses to reside in North Carolina.

Burnham is scheduled to appear in federal court in Greensboro next Monday.