A Casper man was sentenced to three to five years behind bars for possession of child pornography on Tuesday.

Travis Miller, 22, received the sentence  -- agreed upon earlier by prosecutors and his defense attorney -- from Natrona County District Judge Thomas Sullins on Tuesday.

Earlier this year, Miller was arrested after Casper police investigators found a number of child pornography videos downloaded on a computer that had been traced back to him.

In most cases, the video showed children 10 years or younger committing various sexual acts.

When interviewed by Agents of the Wyoming Division of Criminal Investigation’s Internet Crimes Against Children Task Force, Miller admitted to using a peer-to-peer file sharing network to look for and download child pornography videos. He transferred some of them to a thumb drive, which agents later confiscated, according to court documents.

He initially pleaded not guilty in July, then changed his plea in October.

Assistant District Attorney Joshua Stensaas told the court that Miller had no criminal history.

However, child pornography is not a "victimless crime" because it portrays children who are raped, Stensaas said. People such as Miller create a demand for child pornography.

Miller's defense attorney said his client suffered childhood trauma as a result of his mother's violent boyfriend. Miller accepted fulll responsibility for his actions, he added.