A male runner competing in the London Marathon on Sunday died after collapsing just three miles from the finish line.

According to the event’s organizers, a 36-year-old man from South East England collapsed 23 miles into the 26.2-mile-long course.

“A 36-year-old man from South East England collapsed between mile 23 and 24 and, although he received immediate medical treatment and an ambulance was on the scene within three minutes, he died later in hospital,” the organizers said in a statement.

“Everyone involved in the organization of the London Marathon would like to express sincere condolences to his family and friends,” they continued.

Organizers did not identify the man or his cause of death, which they said would be determined by a medical examiner.

“The family has requested privacy and no further details will be released in accordance with their wishes,” they said in the message.

According to the Evening Standard, more than 40,000 people took part in the marathon.

It was only the third time in its history that the race was held in October, the outlet said. The event typically takes during the spring but was moved the last two years due to the COVID-19 pandemic.

Amos Kipruto of Kenya won the men’s race while Yalemzerf Yehualaw of Ethiopia took the women’s title.

Per CNN, Yehualaw, 23, became the youngest winner of the London Marathon after her victory on Sunday.