Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

A former staffer at American Media Inc. and an Audible contractor was arrested Wednesday for allegedly distributing images of child sexual abuse, authorities said.

Mark Miller, 61, has been detained without bail for allegedly using his mobile phone to share images of girls between the ages of 6 and 10 restrained and being sexually abused, the U.S Attorney's Office for the District of New Jersey said.

Mark Miller, a former American Media Inc. employee, has been charged with distributing child pornography in New Jersey. Facebook

Prosecutors said Miller was caught sharing the images in an undercover Department of Homeland Security investigation. Miller used a group messaging feature in a mobile application to send the photos, according to the criminal complaint.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

He faces up to 20 years in federal prison and as much as a $250,000 fine.

An attorney for Miller could not immediately be reached by NBC News for comment.

Miller, who lives in Bloomsbury, New Jersey, has spent the majority of his career in publishing, including a long history at The Star-Ledger newspaper based in Newark.

Representatives for AMI confirmed to NBC News that Miller was an employee at the company from 2014 until 2017.

A spokesman for Audible, which is owned by Amazon, told NBC News Thursday that Miller was a contracted employee at the company and that his contract has been terminated.