A Pinellas County science teacher suffered a catastrophic crash when lightning struck him as he cycled down a mountain in the Peruvian Andes.

James Fernandez, 41, was riding downhill with another tourist and their guide near Cusco, Peru, on Nov. 26 when lightning struck all three men. Fernandez’s friend, Minnesota resident Yuri Botelho, was killed on the spot.

Fernandez survived the strike but lost consciousness on his bike, friends said, before suffering a crash that broke his neck. The guide also was seriously injured but managed to call for help.

Fernandez underwent surgery to relieve complications from his injuries that were making breathing difficult, said Austin Mautner, a close friend. Fernandez had been in and out of consciousness, Mautner said, but as of Dec. 1 he remained intubated and sedated at a hospital in Peru.

He suffered a burn on his foot, where the lightning may have exited, Mautner said, but the more serious injuries came from the crash. Doctors are trying to stabilize him so he can travel to a trauma center in Miami.

“After he’s stable enough, the first thing is to medically evacuate him,” said Bryan Lieberman, another close friend. “We’re told that can cost a couple hundred thousand dollars between the plane and the medical care on board. We don’t know what his mobility is going to look like — he has injuries to his spinal cord — but they’ll start to assess that once he’s back in the U.S.”

A world traveler who has led bicycling tours around the globe, his friends said, Fernandez was in Peru for Thanksgiving break with his wife, Alexis, and their infant son. Botelho’s wife and that couple’s baby had joined them on the vacation.

“He’s not inexperienced,” Mautner said. “He’s a very avid rider, both street and mountain bike, and this excursion wasn’t anything extremely challenging. It was just a freak accident.”

Fernandez, who is from South Florida, teaches science at Palm Harbor Middle School and heads the school’s science department. He started there in 2022, a Pinellas County Schools spokesperson said, and he has worked for the district since 2020.

Prior to that, he worked for the international touring company Backroads.

Mautner said Fernandez had recently been teaching his other son, who is 8, to mountain bike.

By Dec. 1, a GoFundMe campaign raising donations for Fernandez’s recovery had surpassed $76,000 in its first 20 hours.

Friends credited the speed of the donations to the ties Fernandez has forged worldwide, having spent time living and working in Spain, Ecuador, Costa Rica and elsewhere.

“One thing that James has done his whole life is keep his friends close,” said Lieberman, a friend of Fernandez since high school. “I’d call him a brother. I wish I could say I’m special in that way, but everyone who knows him feels the same way. When you run tours around the world, and you’re part of the community as a teacher, it helps.

“But while that almost $80,000 looks nice, we know he’s going to need a lot of help.”

Cruz Castro, an eighth-grade student in Fernandez’s class at Palm Harbor Middle School, said he hopes the teacher, one of his favorites, recovers quickly.

“He’s the kind of teacher who can always help you make your day better,” Castro said. “And if you’re, like, behind, he’ll help you catch up.”