Christian Petersen via Getty Images Dave Mirra speaks in a press conference after the Rally Car race during the summer X Games 14 at Home Depot Center on Aug. 3, 2008, in Carson, California.

Dave Mirra, a legendary BMX rider and one of the most successful athletes in extreme sports, died Thursday in Greenville, North Carolina.

Mirra, 41, was found sitting in a truck with what appeared to be a self-inflicted gunshot wound, the Greenville Police Department said. Mirra had been visiting friends in the area before his death, and police were investigating the incident, according to the department.

Nick Laham via Getty Images

Mirra was dominant in BMX through the 1990s and 2000s, and helped usher BMX onto the world stage through his career in the X Games. He earned 24 X Games medals (23 in BMX and one in rally driving). Bob Burnquist is the only athlete with more total X Games medals than Mirra, and Shaun White is the only one with more golds.

Rose high school Greenville Nc A photo posted by Dave Mirra (@davemirra) on Feb 4, 2016 at 12:58pm PST

His athleticism and competitiveness were not solely in BMX. He was also a member of Subaru’s Rally Team and a business owner, and he had considerable success in triathlon and Ironman competitions. Mirra hosted MTV’s “Real World/Road Rules Challenge” for two years and had several signature video games.

Born in Chittenango, New York, Mirra began riding bikes at age 4 and started competing when he was 10. He turned pro soon after graduating high school and became a regular presence on the podium at competitions. His career was almost ended in 1993, after he was struck by a drunken driver.

#tbt First Double backie at the 2000 X-Games and my fifth straight park win in a row. I believe that's still the record. ? @danieldhers *jay miron and @kampkenan were the first to pull the double backflip and I was the first to do it in a contest in Raleigh Nc earlier that year. A photo posted by Dave Mirra (@davemirra) on Oct 1, 2015 at 3:42pm PDT

Mirra was the first BMX rider to land a double backflip in competition. He focused on the park and vert aspects of BMX, but stopped riding park after lacerating his liver in the fall of 2006.

Jonathan Daniel via Getty Images

Mirra made Greenville a hub for BMX riders. "We mourn the loss today of a great friend and wonderful human being who touched the lives of so many around the world with his gift. He called Greenville, North Carolina, home and was as humble a guy talking with kids on a street corner about bikes as he was in his element on the world stage,” Greenville Mayor Allen Thomas said in the police statement.

Mirra is survived by his wife and two children.

That's what I'm sayin". Your kids are who you are. #beadadnotafad l love you Madikenz A photo posted by Dave Mirra (@davemirra) on Jan 24, 2016 at 10:59pm PST

If you or someone you know needs help, please call 1-800-273-8255 for the National Suicide Prevention Lifeline. Outside of the U.S., please visit the International Association for Suicide Prevention for a database of international resources.

Also on HuffPost:

PHOTO GALLERY Notable People We've Lost In 2016