PORTLAND, Maine — Two men were sentenced Tuesday in U.S. District Court on child pornography charges, according to information posted on the court’s electronic case filing system.

Conrad Neal Freeman, 21, of Hope was sentenced to five years and 10 months in federal prison to be followed by seven years of supervised release. He pleaded guilty in May to one count each of possession of child pornography and transportation of child pornography.

Robert St. Jean, 38, of Lyman was sentenced to four years in federal prison to be followed by five years of supervised release. He pleaded guilty in January to one count of possession of child pornography.

By pleading guilty, Freeman admitted that in January 2014 he engaged in an online chat with an undercover agent with U.S. Immigration and Customs Enforcement’s Homeland Security Investigations in California, the U.S. attorney’s office said a press release.

“In that conversation, Freeman agreed to send the undercover agent images of child pornography in exchange for the opportunity to observe the agent engaged in sexual acts with the agent’s purported 11-year-old daughter,” the release said. “Freeman then sent the undercover agent 10 images and a video containing child pornography.”

Freeman agreed to be held without bail pending the outcome of his case when he was arrested in November. That time will be applied to his sentence.

The investigation that led to the charge against St. Jean was conducted in 2012 by a different agent with Homeland Security Investigations. St. Jean downloaded images the agent was tracking in October 2012 and were traced to St. Jean’s IP address, according to court documents.

In addition to prison time, St. Jean also was ordered to pay $19,000 in restitution to five victims who requested money for counseling.

St. Jean, who had been free on $20,000 unsecured bail, began serving his sentence immediately after he was sentenced.

Each man faced up to 20 years in prison and a fine of up to $250,000.

These cases were prosecuted as part of Project Safe Childhood, a nationwide initiative launched in May 2006 by the U.S. Department of Justice to combat the growing epidemic of child sexual exploitation and abuse, according to the press release. Led by U.S. Attorneys Offices and the Criminal Division’s Child Exploitation and Obscenity Section, Project Safe Childhood marshals federal, state and local resources to locate, apprehend and prosecute those who sexually exploit children, and to identify and rescue victims.

For more information about Project Safe Childhood, please visit www.usdoj.gov/psc. Click on the “resources” tab for information about Internet safety education.