A suspect in the murder of 6-year-old beauty queen JonBenet Ramsey in 1996 now faces charges of sexually exploiting a child, as prosecutors said Tuesday he was caught with child pornography.

Police in Boulder, Colorado arrested 52-year-old Gary Howard Oliva on Friday. They said he uploaded at least 20 graphic images of children to a Google email address, the Daily Camera reported.

Some of the photos showed a girl between the ages of 4 and 7, investigators said. Arrest documents showed he was homeless when police caught him.

Police had named Oliva as one of multiple suspects in JonBenet Ramsey's murder. He revealed in a TV interview in 2002 that he wrote a poem entitled "Ode to JonBenet." The program, "48 Hours Investigates," reported that Oliva was a registered sex offender and may have been near the Ramsey family's Boulder home at the time of her death. He also reportedly went to prison for assaulting a 7-year-old girl in Oregon.

JonBenet Ramsey was found beaten and strangled in the basement of her family's home on Dec. 26, 1996. Images of the blonde girl competing in child beauty pageants helped propel the case into one of the highest-profile mysteries in the United States.

DNA was found beneath JonBenet's fingernails and inside her underwear, but family attorney Lin Wood said detectives were unable to match it to anyone in an FBI database.

Investigators said at one point that JonBenet's parents were under an "umbrella of suspicion" in the slaying, and some news accounts cast suspicion on JonBenet's older brother, Burke. But the Ramseys insisted an intruder killed their daughter, and no one was ever charged.

Over the years, some experts suggested that investigators had botched the case so thoroughly that it might never be solved. The Ramseys moved back to Atlanta after their daughter's murder.

"We're currently not comfortable ruling anybody out as a suspect, or ruling anybody in as a suspect, in the Ramsey case," city spokeswoman Sarah Huntley told the Daily Camera.

A court appearance on Oliva's new charges, including sexual exploitation of a child, was scheduled for July 11. A judge ordered him held on $10,000 bond.

The Associated Press contributed to this report.