NEW YORK (AP) — A New York federal judge on Wednesday nullified the suspension of horse trainer Bob Baffert, finding that the New York Racing Association acted unconstitutionally by failing to let him adequately respond to claims made against him after Kentucky Derby winner Medina Spirit failed a postrace drug test.

In her written ruling, Brooklyn Judge Carol Bagley Amon said a prompt post-suspension hearing where Baffert could refute the claims was required to meet constitutional muster.

But she said the racing association “had held no hearing — let alone a prompt one.”

Get our free mobile app

Attorney W. Craig Robertson III, who represented Baffert at a Monday hearing before Amon, said the ruling confirms that “following the Kentucky Derby, there was an improper rush to judgment and Mr. Baffert has been treated unfairly.”

He called Amon’s ruling “one step, in one venue, toward righting those wrongs,” and said he hoped it would lead to cooperation between the parties rather than division.

LOOK: 50 images of winning moments from sports history

Sometimes images are the best way to honor the figures we've lost. When tragedy swiftly reminds us that sports are far from the most consequential thing in life, we can still look back on an athlete's winning moment that felt larger than life, remaining grateful for their sacrifice on the court and bringing joy to millions.

Read on to explore the full collection of 50 images Stacker compiled showcasing various iconic winning moments in sports history. Covering achievements from a multitude of sports, these images represent stunning personal achievements, team championships, and athletic perseverance.