"Unfortunately we have some sad news to share," the Krispy Kreme Challenge organizers in Raleigh wrote on Twitter. "We regretfully confirm that a participant of today's Krispy Kreme Challenge has died."
The race participant "stepped out of the race within the first mile and reported having chest pains."
He was transported by EMS to nearby Rex Hospital, where he was pronounced dead.
"We are deeply saddened and wish to convey our heartfelt condolences to his loved ones," the statement concluded.
The Challenge, which is run by students at N.C. State University and raises funds for North Carolina Children's Hospital, combines a five mile run with eating 12 doughnuts.
The motto for the race is "2400 calories, 12 doughnuts, 5 miles, 1 hour."
Not all participants in the race must consume the doughnuts, only those who register as "Challengers." Those opting to complete the doughnut portion of the event run 2.5 miles before stopping at a specified Krispy Kreme location, where they must eat the dozen, glazed sweets before completing the final miles.
The race started in December 2004, and grew to more than 8,000 participants in 2015.
N.C. State also issued a statement on the death, writing on Facebook, "On behalf of the entire NC State community, our deepest sympathies go out to the runner’s family members and loved ones."
The man's name has not been released.