An avalanche at a New Mexico resort trapped and killed two skiers on the slopes, officials said.

Matthew Zonghetti, of Minnesota, and Corey Borg, of Colorado, were pulled from the snow Thursday morning after the avalanche at Taos Ski Valley, news station WCCO reported.

Both men were buried for 22 minutes at the 12,000-foot summit known as Kachina Peak, ABC News reported.

Emergency responders rushed 26-year-old Zonghetti to Holy Cross Hospital in Taos, where he succumbed later that day to his injuries.

Borg was airlifted to the University of New Mexico Hospital in Albuquerque.

Borg’s relatives confirmed on social media Sunday the Colorado Mountain College student died from the skiing incident, according to Taos News. His age was unknown in media reports.

It’s unclear what caused the avalanche, according to the ski resort, which released a statement following the deadly day on the slopes.

“Our thoughts and prayers are with the two individuals who were affected by today’s event and their families,” Taos Ski Valley said on Facebook. “We are grateful to the ski patrol and community of visitors across the mountain who responded without hesitation to rescue these individuals. We appreciate the overwhelming support of the community during this incident.”

Borg’s family launched a GoFundMe to raise money for his funeral.