The New York City Marathon made history on Sunday with a course record set in the women's competition and the closest race ever on the men's side, which was decided by a fraction of a second.