Fans huddled in heavy coats, hats and gloves lined the streets around Court Square in Long Island City to cheer on friends, family members and strangers running the New York City marathon.

Waving signs reading “Run now, poop later!” and “Pain is temporary, bragging on Facebook is forever!” people gathered despite the high winds to cheer on runners who traveled from across the world to compete in the five boroughs.

Sabina Finfando stood in Long Island City cheering for her husband, Karol, who was competing in his third-ever marathon. Previously, he ran in Warsaw, Poland, and Austin, Texas.

“We actually have relatives from Poland that flew in for the marathon as well,” Finfando said, nodding to the group in front of her holding signs in both English and Polish.

Music played throughout the square, as men, women, handcyclers and athletes with disabilities ran together between the screaming sidelines of supporters.

A record 50,881 runners started the marathon, with temperatures in the mid-40s, and winds that started at 31 miles per hour but got up to as high as 50 miles per hour during the race.

In both the men’s and women’s divisions, Kenya dominated. The conditions, however, made for a relatively slow day.

For the men, a sprint to the finish put Kenyan Wilson Kipsang, 32, ahead of his younger Ethiopian competitor, Lelisa Desisa, 24. Kipsang finished in 2:10:59, which is the slowest winning time in New York since 1995.

Mary Keitany, 32, was the first female finisher, just ahead of her fellow countrywoman Jemima Jelegat Sumgoing, 29. Keitany finished in 2:25:07, just three seconds ahead of Sumgoing, tying for the closest finish in the history of the women’s race.