This is an archived article that was published on sltrib.com in 2016, and information in the article may be outdated. It is provided only for personal research purposes and may not be reprinted.

A 22-year-old Salt Lake County man accused of leaving a fake bomb outside Oquirrh Hills Elementary School in Kearns last year has resolved the case with a plea deal.

Cody Lynn Parris, 22, was recently charged in 3rd District Court with second-degree felony use of a hoax weapon of mass destruction after police linked him to fingerprints on the box left at the school on Aug. 26, 2015.

Parris pleaded guilty Friday to a lesser third-degree felony count of attempted hoax weapon of mass destruction. As part of his plea agreement, Parris also pleaded guilty to third-degree felony attempted theft of a firearm in an unrelated case where he was accused of stealing a pistol from the trunk of a car in April.

According to court documents, prosecutors will recommend probation when Parris is sentenced on Nov. 18 by Judge Todd Shaughnessy.

In the bomb hoax case, Parris and a 17-year-old friend wrote the words "bomb," "boom" and "touch sensitive" in black marker on an empty box, which left the box in front of the school, located at 5241 S. 4280 West.

Police were called to the school and students were evacuated to portable classrooms at the back of campus while a bomb squad was called.

Determining that the box was empty took "a significant amount of time," and the resources of two police agencies and a fire crew, charges state.

The school's camera system showed two males in hoodies drop off the package. But their identities remained unknown until last month, when the State Crime Lab got a match on their Automated Fingerprint Identification System to prints submitted by police for analysis, charges state.

When Parris was contacted by police, he told them, according to charges, "Fine, I did it!"

The 17-year-old was charged in juvenile court with use of a hoax weapon of mass destruction, said Granite School District spokesman Ben Horsley on Friday.