FRESNO, Calif. (AP) — A hiker who was stranded for six days with a broken leg in California’s Sierra Nevada says he survived by eating crickets and moths and melting ice for water.

Gregg Hein said Wednesday while recovering at a Fresno hospital that he was a couple days into a solo hike when a large rock crushed his right leg above the ankle. The 33-year-old Clovis man’s first thought was treating his dangling leg and protruding bone to boost his chances of making it out alive.

READ MORE: Video Released Of Fatal Officer-Involved Shooting Of Tahoe Park Resident Who Shot At Authorities

Hein says he used hiking gear to secure his leg and then scooted to a flat clearing with a good vantage point to wait for rescuers. A helicopter crew eventually spotted him.

READ MORE: Coroner Identifies Passenger Killed In Wrong-Way DUI Crash On Highway 99

Hein says his high-risk days of hiking alone are behind him.

MORE NEWS: Looting Suspect Accused Of Dozens Of Thefts Arrested In South Lake Tahoe

(TM and © Copyright 2014 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2014 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)