BANGOR, Maine — An Aroostook County man accused last year of sharing videos and pictures that showed prepubescent minors being sexually abused by adults pleaded guilty Wednesday in U.S. District Court to one count of transportation of child pornography.

Robert Kinney Jr., 41, of Blaine was indicted in February by the federal grand jury on three counts. By pleading guilty, Kinney, also known as Snake, admitted that he knowingly transported and received child pornography on the Internet in August 2014.

The U.S. attorney’s office agreed to dismiss one count each of receiving child pornography and possession of sexually explicit material of someone under the age of 12 when Kinney is sentenced in exchange for his guilty plea.

Kinney agreed not to appeal his case to the 1st U.S. Circuit Court of Appeals unless the sentence is longer than 17 ½ years, according to court documents.

Kinney was scheduled to go to trial next month.

Federal law requires that Kinney be held without bail until he is sentenced.

A sentencing date has not been set.

Kinney had been free on $10,000 unsecured bail since he was arraigned in March in federal court in Bangor.

He originally was charged in Aroostook County Superior Court. That charge has been dismissed.

A search of electronic devices at Kinney’s home revealed graphic images of infants being sexually molested, Maine Department of Public Safety spokesman Stephen McCausland said at the time of Kinney’s arrest by Maine State Police a year ago.

Kinney faces between five and 20 years in federal prison and a fine of up to $250,000. He also could be ordered to pay restitution to victims in the images he viewed to help finance counseling.