Updated

Bob Baffert won a round in court on Wednesday, when a federal judge granted the legendary horse trainer's request that his suspension by the New York Racing Association (NYRA) be lifted until his lawsuit against the organization is over.

Baffert fell under scrutiny following the Kentucky Derby this year, after Medina Spirit – his seventh horse to win the esteemed race – tested positive for betamethasone, a substance that is prohibited on race-day in Kentucky.

Baffert denied drugging the horse, and urged critics to wait for an investigation to be completed regarding the explanation for his horse testing positive for corticosteroid. He later acknowledged the horse was treated with an ointment that might have contained the substance.

Bob Baffert won a round in court on Wednesday, when a federal judge granted the legendary horse trainer's request that his suspension by the New York Racing Association be lifted until his lawsuit against the organization is over.

Bob Baffert won a round in court on Wednesday, when a federal judge granted the legendary horse trainer's request that his suspension by the New York Racing Association be lifted until his lawsuit against the organization is over. (AP Photo/Charlie Riedel)

Following Medina Spirit's drug test, Churchill Downs suspended the trainer for two years, prompting him to sue the Kentucky Horse Racing Commission.

Baffert was also suspended by the NYRA following the Derby, meaning he was not allowed to enter horses at the Belmont Stakes – which he said cost him big bucks. Baffert sued the NYRA for the losses incurred by the suspension it imposed, and asked that the suspension be put on hold until the completion of his lawsuit against the group. 

BOB BAFFERT SUING NEW YORK RACING ASSOCIATION FOLLOWING SUSPENSION

Judge Carol Bagley Amon of the U.S. District Court for the Eastern District of New York granted his request – just one day before the start of the Saratoga summer meet.

"The hardships that Baffert would suffer absent an injunction weigh heavily on the other side of the scale," Amon wrote in her decision. "The suspension is indefinite, and NYRA concedes at most that Baffert's claims might "be decided within the year."

The judge went on to call the 2021 Saratoga summer meet "a one-time opportunity," pointing out that since "many of the races are limited to horses of a certain age, an inability to compete in these races now means those horses will never have the chance."

John Velazquez riding Medina Spirit crosses the finish line to win the 147th running of the Kentucky Derby at Churchill Downs in Louisville, Ky., in this Saturday, May 1, 2021, file photo.  (AP Photo/Jeff Roberson, File)

John Velazquez riding Medina Spirit crosses the finish line to win the 147th running of the Kentucky Derby at Churchill Downs in Louisville, Ky., in this Saturday, May 1, 2021, file photo.  (AP Photo/Jeff Roberson, File)

JUDGE QUESTIONS TREATMENT OF SUSPENDED HORSE TRAINER BAFFERT

"Baffert will face substantial damage to his income, client base, and reputation if he cannot enter horses at NYRA races for the indefinite future," Amon continued. "He has already lost one prominent client and stands to lose others, and has been deprived of the ability to compete at Belmont."

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

Amon wrote that she is "sensitive to NYRA's concerns about Baffert's involvement in the events surrounding Medina Spirit's Kentucky Derby performance, and the fear that history might repeat itself in New York," but determined: "For the reasons stated, the actual and substantial harm that Baffert will suffer absent an injunction outweighs the speculative harms that NYRA raises."

In reaction to the judge's decision, NYRA president and CEO Dave O'Rourke issued a statement that said, in part, "NYRA is reviewing the court’s decision today to determine our legal options and next steps. What is clear, however, is that Mr. Baffert’s actions and behavior can either elevate or damage the sport. We expect Mr. Baffert to exert appropriate controls over his operation."

"Importantly, the court upheld NYRA’s authority to exclude individuals from its racetracks whose conduct is contrary to the best interests of thoroughbred racing," O'Rourke continued, adding, "The court also rejected Baffert’s argument that NYRA had no legal authority to take the action that it did."

Marta Dhanis and Daniel Canova contributed to this report.