BALTIMORE (AP) — Medina Spirit is set to run in the Preakness on Saturday to go for the second leg of the Triple Crown, as long as the Kentucky Derby winner passes a series of additional drug tests.

Maryland racing officials have reached an agreement with trainer Bob Baffert to allow Medina Spirit and his other horses to enter races this weekend at Pimlico Race Course subject to extra testing and monitoring.

Baffert says Medina Spirit was treated with an antifungal ointment containing the steroid betamethasone that may have caused the horse to fail a postrace drug test.

Baffert says Medina Spirit was treated with the ointment for dermatitis once a day leading up to the race and that experts have told him this could explain the test results. Baffert says the horse tested positive for 21 picograms of the substance, which would lead to a disqualification if upheld with another test.