Democratic presidential hopeful Martin O’Malley has parted ways with the chairman of his campaign in Virginia following the man’s arrest this week on child pornography charges, an O’Malley aide said Friday.

Michael C. Teegarden, a Richmond-area businessman, was arrested Thursday on two felony counts and is accused of having been involved in online trading of digital child pornography, according to The Richmond Times-Dispatch.

Haley Morris, a spokeswoman for O’Malley, the former Maryland governor, said Teegarden had been serving in a volunteer capacity and that the campaign “severed all ties with him immediately.”

"We're horrified by these allegations, and if he is found guilty he should be punished to the full extent of the law,” Morris said.

Outside the campaign, Teegarden had been working for a financial advisory firm. He previously worked as an assistant principal, teacher and coach in Virginia public schools, according to media reports.

On Twitter, Teegarden had been actively promoting O’Malley’s campaign and described himself as “O'Malley for President 2016, Virginia Chair. Relatively hip dad.”