FRESNO — A hiker who was stranded for six days with a badly broken leg in California's Sierra Nevada said Wednesday that survival mode kicked in when he treated his own injury and he sought sustenance by eating crickets and moths, and drinking melting ice.

Recovering at a Fresno hospital, Gregg Hein, 33, said he was a couple days into a solo hike high in the Sequoia and Kings Canyon national parks northeast of Fresno when a large rock crushed his right leg above the ankle. After letting out a yelp, the Clovis man said his first thought was treating his dangling leg and protruding bone to boost his chances of making it out alive.

"I have to get these next moments right," said Hein, an avid outdoorsman. "What do I do to make sure I have the best chance for a positive outcome?"

He briefly considered applying a tourniquet to stop the bleeding, a move that he knew would end with his leg being amputated.

Rather, Hein said he used hiking gear to wrap and secure his leg, and then he scooted to a flat clearing with a good vantage point to wait for rescuers. His leg became infected, but Hein said he remained lucid.

Doug Hein reported his son missing two days after he didn't return home as planned. Rescuers started their search that day on foot and from the air. A helicopter crew spotted Gregg Hein and lifted him to safety.

He underwent two surgeries and expects two more in a healing process expected to take months. His leg bones are pinned in place, and his hands and legs are covered in scrapes from falling about 150 feet in the accident.

Hein said his risky days of hiking alone are behind him, but not his love of the outdoors.

"As soon as I can get back to trail running and hiking, I'll be out there," he said. "It's my community."

Top 5 locations of last drink before DUI arrest

1) Home – 254

2) Friend’s House – 223

3) Relative’s House – 82

4) Graton Casino – 72

5) Car – 56

Source: CHP Last Drink Surveys 2015-2017

DUI arrests in Sonoma County by agency

Every day, on average, more than seven people are arrested on suspicion of driving under the influence of alcohol or drugs in Sonoma County. Two-thirds are arrested by two agencies: CHP and Santa Rosa police, The Press Democrat found in an analysis of 8,074 DUI arrests by 14 law enforcement agencies from 2015 to 2017. Here’s how they break down by agency.

CHP: 3,155 arrests, excluding the City of Sonoma and a good chunk of the Sonoma Valley, which are served by the CHP office in Napa.

Santa Rosa police: 2,000

Petaluma police: 839

Rohnert Park Public Safety: 469

Sebastopol police: 426

Healdsburg police: 394

Cotati police: 185

Sonoma police: 155

Windsor police: 139

Sonoma County Sheriff’s Office: 100

Santa Rosa Junior College police: 87

Cloverdale police: 70

Sonoma State University police: 31

California State Parks rangers: 24