A young French boy’s life was spared after his parents offered him more of the little water they had while hiking on perilous trail in New Mexico. His parents both died and he has since been reunited with his grandmother.

The tourists had traveled to the White Sands National Monument and set out to hike the Alkali Flat Trail, a 4.6 mile journey that takes visitors to the heart of the park’s sand dunes. Because of the extreme heat that visitors can face in the summer, the park recommends visitors carry about a gallon of water with them while on the trail and resting frequently. The park also recommends hiking during cool times—the early morning and evening.

The couple, however, only had two 20 ounce bottles of water among them, according to the Alamogordo Daily News, a local newspaper. And according to CNN, officials believe they started their hike around 1 p.m. local time, when temperatures hovered around 101 degrees.

To keep their son hydrated, the couple reportedly drank one sip of water as he took two. Both of the parents, identified as Ornella and David Steiner, died in the heat. The boy told officials Ornella was trying to head back to the start of the trail when she collapsed. The father and son were attempting to carry out the remainder of the journey, but only made it another 2,000 feet before succumbing to the heat. Rangers later found the bodies and the son next to his dead father.

According to Alamogordo Daily News, the boy’s grandmother flew to New Mexico from France to take care of him.

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.