A Pennsylvania teenager was arrested Friday for allegedly murdering a 16-year-old classmate, after taking a selfie with the victim’s body and Snapchatting the image to a friend. Although the app is known for making photos disappear in 10 seconds or less, the recipient of the jarring text saved the picture and showed it to police.

Maxwell Marion Morton, 16, confessed to killing Ryan Mangan to police, the Pittsburgh Tribune-Review reports. He was charged as an adult with criminal homicide, first-degree murder and illegal possession of a 9 mm handgun and is currently being held in a county jail without bail.

“[Police] received a copy of the photo which depicted the victim sitting in the chair with a gunshot wound to the face,” a police affidavit says. “It also depicts a black male taking the ‘selfie,’ with his face facing the camera and the victim behind the actor. The photo had the name ‘Maxwell’ across the top.”

District Attorney John Peck said of the Snapchat selfie: “I’ve never seen it before, but it was a key piece of evidence that led investigators to the defendant.”

[Pittsburgh Tribune-Review]

Read next: Lost Your iPhone? Here’s How to Find It



Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Listen to the most important stories of the day.

Contact us at letters@time.com.