RIO DE JANEIRO — The favorite Eliud Kipchoge of Kenya won the Olympic marathon on Sunday, drawing away over the final four miles to win in 2 hours 8 minutes 44 seconds.

Feyisa Lilesa of Ethiopia took second in 2:09:54, while Galen Rupp of the United States won the bronze medal in 2:10:05, his personal best.

Kenyans won both marathons at the Rio Games. Jemima Sumgong won the women’s marathon, becoming the first Kenyan woman to win a gold medal in the 26.2-mile event.