Kenya’s Mary Keitany, 34, won her third straight New York City marathon on Sunday, pulling ahead of the lead pack of runners and finishing with a time of 2:24:26.

In the men’s race, Ghirmay Ghebreslassie of Eritrea won with a time of 2:06:51. He was followed by Lucas Rotich of Kenya with 2:08:53 and Somali-born American runner Abdi Abdirahman with 2:11:23.

Keitany, whose quick pace at miles 16, 17 and 18 put her ahead in the race, became the second woman to win three marathons in a row in New York. She gained a lead at the 15-mile mark while running across the Queensboro Bridge into Manhattan.

Ghirmay Ghebreslassie of Eritrea, second left, pulls away from Kenya’s Lucas Rotich, second right, during the New York City Marathon on Nov. 6, 2016.
Jason DeCrow—AP

Pulling in second and third place in the women’s race were Sally Kipyego of Kenya with 2:28:01 and American debut runner Molly Huddle with 2:28:13.

Fifty-thousand people ran the marathon this year, as New York celebrated the race’s 40th anniversary.