Moore was nabbed in an undercover sting when he sent indecent materials, including a picture of himself, to someone he thought was a teenage girl on the mobile apps Kik and Meet24, according to the criminal complaint. The “girl” turned out to be an agent of the Delaware State Police working with the Delaware Child Predator Task Force.

Moore’s wife had urged the judge to show mercy, but U.S. District Judge Daniel Hurly was not inclined to go easy on the ex-Marine and former Secret Service agent.

Moore must also register as a sex offender and attend sex treatment sessions.