A 21-year-old hiker died after slipping off the trail near the summit of Mount Marcy, New York’s tallest peak, authorities said.

Around 6:06 p.m., one of the rangers was dropped at the Marcy Dam Outpost — roughly five miles from and nearly 3,000 feet below the summit — to begin a ground search.

The ranger then hiked toward the hiker’s last known location near the summit and found the 21-year-old at 9:51 p.m., deceased, according to the spokesperson.

The dog was found alive and was led off the mountain by rangers, officials said, but poor weather conditions initially prevented crews from recovering the hiker’s body.

A State Police helicopter transported two forest rangers to the site on Friday morning, where they were able to recover the hiker’s remains.

"The New York State Department of Environmental Conservation offers its condolences to the family," the spokesperson said.