The fatal crash of a small airplane in Colorado last year likely occurred in part because the pilot was taking selfies, federal investigators said.

The pilot, Amritpal Singh, and his passenger were killed when their Cessna 150 crashed near Front Range Airport in Watkins shortly after midnight on May 31. National Transportation Safety Board says a GoPro camera recovered from the wreckage revealed that the pilot and various passengers had taken selfies in the plane with their cell phones, some using the camera’s flash function, during a series of past flights.

While the GoPro camera wasn’t recording the fatal flight, investigators concluded that the flash from a cell phone camera likely disoriented the pilot and contributed to his loss of control of the aircraft. Singh did not meet the requirements to operate a plane at night with a passenger, according to the NTSB.

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.

Contact us at letters@time.com.