FLAGSTAFF, Ariz. — A man had to be treated for hypothermia this week and rescued from a snowy northern Arizona mountain that he hiked up wearing only shorts and other light clothing in a quest for free pizza, authorities said.

He was trying to qualify for a pizza promised by a local business to anyone who could make it to a radio tower on Mount Elden overlooking Flagstaff.

The elevation of the mountain is more than 9,000 feet.

A Forest Service lookout at the tower provided shelter Tuesday to the 30-year-old man, said Coconino County sheriff’s Cmdr. Rex Gilliland. The man’s identity was not made public.

The mountain had several inches of snow from a spring storm when authorities received a report of the man being in trouble and asked the lookout to check for him, Gilliland said.

The man was unaware of the forecast or disregarded it when he set out Tuesday morning, Gilliland said.

“Regardless of what this business offers … the responsibility falls back to the individual to make good sound decisions about what they’re going to do,” he said.

The freezing temperature and snowfall on the mountain were clear signs that the hike would be dangerous, Gilliland said.

“It shouldn’t have been a surprise,” Gilliland said.