President Trump on Sunday blamed the result of the Kentucky Derby on “political correctness,” arguing that the horse that crossed the wire first should not have been disqualified.

“The Kentuky Derby decision was not a good one,” Trump said in a tweet, misspelling the word “Kentucky.” “It was a rough and tumble race on a wet and sloppy track, actually, a beautiful thing to watch. Only in these days of political correctness could such an overturn occur. The best horse did NOT win the Kentucky Derby - not even close!”

He corrected the spelling in a later tweet.

Maximum Security appeared to win Saturday’s race by 1¾ lengths. But then two jockeys objected, and after stewards reviewed video of the race, they disqualified the apparent winner in a unanimous ruling, handing the victory to Country House, a 65-1 long shot.

The review focused on a moment when Maximum Security barged to his right and impeded the paths of two other horses at the top of the backstretch. That, in turn, foiled Country House, according to Flavien Prat, the horse’s 26-year-old jockey.

The stewards at the track agreed, ruling that it was enough of an infraction to demote Maximum Security, who had previously been undefeated, from first to 17th place.

Trump’s personal attorney Rudolph W. Giuliani also weighed in on the Derby on Sunday afternoon, tweeting that Maximum Security “ran an exceptional race.”

“Usually a horse that is challenged several times during a race falls behind,” Giuliani said. “This horse stood up to all challengers and was stronger at the end. He won it on the track for sure.”

Competing horses Game Winner and Improbable galloped along the track on May 2, two days ahead of the Kentucky Derby in Louisville. (AP)

Saturday’s race marked the second disqualification of an apparent winner in Kentucky Derby history and the first time an apparent winner was disqualified because of an infraction.

In 1968, Dancer’s Image was declared the winner, only for the result to be overturned after a post-race drug test.