A former secret service officer was sentenced to 20 years in prison for sexting underage girls while on duty at the White House.

Lee Robert Moore, 38, in March pleaded guilty to enticement of a minor to engage in sexual activity and attempting to send obscene material to a minor. A judge handed down the sentence on Wednesday.

Moore’s wife requested leniency for her husband, asking U.S. District Judge Daniel T.K. Hurley to give him the minimum sentence of 10 years, according to court documents cited by NBC News. She said a lesser sentence would benefit her and their children.

But prosecutors pushed back and requested Moore be sentenced to life in prison.

“It is particularly galling that he was himself an armed guard at the single most important residence in our constitutional republic, yet he repeatedly used that guard booth to take photos of his penis and send them to underage girls,” they wrote.

Click here to read more.

SOURCE: NY Daily News, Jessica Schladebeck