The horse was the first to be trained by a woman to win the race.