Lelisa Desisa of Ethiopia won the men’s race in the New York City Marathon on Sunday, with a time of 2 hours 5 minutes 59 seconds, surging ahead of two other runners near the finish in Central Park. Mary Keitany, one of the fastest female marathon runners ever, won the women’s race with a time of 2:22:48, her fourth victory in the event and the second-fastest time on this course.

Desisa, 28, won his first New York City Marathon, defeating Shura Kitata, 22, also of Ethiopia, and Geoffrey Kamworor, 25, of Kenya, the defending champion and the prerace favorite. The runners ran the second-, third- and fourth-fastest times on the course.

The race, with more than 50,000 participants winding 26.2 miles through all five boroughs, unfolded in buttery fall sunshine on a cool, breezy morning that brought out hundreds of thousands of spectators.

Keitany, 36, of Kenya, made her sixth appearance in the New York City Marathon. She became only the third person to win the race four times.