Surfer Kalani David Dead at 24 After Suffering Seizure in Water: 'Best Brother I Could Ever Ask For'

HOSSEGOR, FRANCE - OCTOBER 5: Kalani David of Hawaii placing third in Qualifying Round Heat 1 of the Red Bull Airborne France during the 2019 Quiksilver Pro France at La Graviere on October 5, 2019 in Hossegor, France. (Photo by Damien Poullenot/WSL via Getty Images)
HOSSEGOR, FRANCE - OCTOBER 5: Kalani David of Hawaii placing third in Qualifying Round Heat 1 of the Red Bull Airborne France during the 2019 Quiksilver Pro France at La Graviere on October 5, 2019 in Hossegor, France. (Photo by Damien Poullenot/WSL via Getty Images)

Damien Poullenot/WSL via Getty

Professional surfer and skateboarder Kalani David died at age 24 on Saturday after suffering a medical emergency in the water, the Associated Press reported.

David was surfing at Playa Hermosa on the Pacific coast of Costa Rica when "apparently he suffered some kind of epileptic seizure and drowned," the Judicial Investigation Agency told the AP.

The young athlete, born Kalani David Feeney Barrientos, suffered from a congenital heart disease called Wolff-Parkinson-White syndrome. The condition is due to an extra electrical pathway in the heart, which affects the heart rate and can cause paralysis and seizures.

His death is still under investigation, according to Costa Rican officials who spoke to the news outlet.

BALI, INDONESIA - MAY 15: Kalani David of Hawaii wins Qualifying Heat 3 of the Red Bull Airborne at the 2019 Corona Bali Protected at Keramas on May 15, 2019 in Bali, Indonesia. (Photo by Matt Dunbar/World Surf League via Getty Images)
BALI, INDONESIA - MAY 15: Kalani David of Hawaii wins Qualifying Heat 3 of the Red Bull Airborne at the 2019 Corona Bali Protected at Keramas on May 15, 2019 in Bali, Indonesia. (Photo by Matt Dunbar/World Surf League via Getty Images)

Matt Dunbar/World Surf League via Getty

RELATED: 15-Year-Old Sister of Clemson Football Player Bryan Bresee Dies of Brain Cancer: 'A Beautiful Angel'

Friends and family have begun speaking out since his passing, including his younger brother Keoni, who shared a tribute to his brother via Instagram story. "You are the best brother I could ever ask for. I will miss you Kalani," Keoni wrote.

The brothers often cheered on the other via social media. In 2021, Keoni shared a photo with Kalani and the caption, "I can't believe it's been five years since I went to Australia to play at a concert while my brother was surfing his life away at a WQS. Memories are fun especially when they can be meaningful!"

Never miss a story — sign up for PEOPLE's free daily newsletter to stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

David has previously dealt with medical issues during workouts, and in 2016 said that he was "grateful to be alive" after having a seizure at a California skate park.

"I was skating with @max_jenson @tonechapo @travisrivera and all of a sudden I went into a seizure, fell on my face and woke up in an ambulance also my heart stopped. I had 3 seizures after that when I got to the hospital. So grateful to be alive!" he posted on Instagram at the time.

In 2012, David won the Junior World Surfing title in Panama, solidifying his success as a professional surfer. At just 14 years old, he was "a skating prodigy" according to his 2016 profile in Stab Magazine.

During the same interview, David told the magazine he could never choose between his passions for skating and surfing. "If it was life or death, and I had to choose skating or surfing, I'd choose death."