Liang Sheng-yueh rests in a hospital in Kathmandu after being stranded in the Himalayas for 47 days.

A Taiwanese hiker with maggots already feasting on his flesh has been found, after missing for seven weeks in the Himalayan Mountains.

Liang Sheng-yueh, 20 — who was forced to resort to a salt and snow diet to survive — was found Wednesday afternoon alongside his hiking partner, Liu Chen Chun, who died three days before help arrived, CNN reported.

The men were found in a ravine near the Narchet River in the sprawling Nepalese mountain range that’s home to Mount Everest.

The pair set off for a hike without a guide or porter March 9 but eventually lost their bearings when a snowstorm hit, and fell off a cliff into a ravine, where they found shelter in a small cave, CNN said.

When their families didn’t hear from them, they requested a formal search, which went on fruitlessly for weeks.

The two survived the first 10 days with packed food they were carrying, but had to turn to salt and snow to endure the remaining 37 days.

Liang lost 66 pounds during the ordeal and was presumed dead by Nepalese officials.

Despite his malnutrition, Liang was “very happy” to see the rescuers and greeted them by saying “Namaste,” CNN reported, citing one of the rescuers, Madhav Basnet.

Liang did not have any serious injuries, but was unstable psychologically and had maggots crawling between his toes and lice in his hair, according to CNN.

He’s recovering in a hospital in Kathmandu, where he slurped down six bowls of soup on his first night, according to Basnet.

“He kept thanking me,” Basnet said. “He is gaining energy very fast.”