A Westminster man was sentenced Wednesday to 63 months in prison and 25 years of supervised release for possession of child pornography following a plea agreement in the case, according to the U.S. State Attorney's Office.

Prosecutors said a computer belonging to Joshua Foe, 35, was seized by law enforcement officials under a federal search warrant after officials determined he was sharing child pornography through a file sharing website in 2012 and 2013, according to a press release from the U.S. State Attorney.

Officers found 277 images and 296 videos on the computer that depicted sexual abuse of minors, the agreement stated. Upon his release, Foe must register as a sex offender, officials said.