Anthony Granville (defendant) was a student arrested for causing a disturbance on a school bus. When Granville was arrested, his cell phone was taken and placed into the jail property room. The school’s resource officer, Harrell, received a report that Granville had photographed another student in the restroom with his phone. Harrell retrieved the cell phone and searched through the contents without obtaining a warrant. Harrell found the photo, and Granville was charged with the felony of improper photography. Granville filed a motion to suppress the cell-phone evidence, alleging that the search violated the Fourth Amendment. The trial court granted the motion, and the court of appeals affirmed. The state then appealed to the Texas Court of Criminal Appeals.