The Orioles may have ended the 2015 season in third place in their division, but at least they won in court.

This week, a New York State Supreme Court judge ruled in favor of the Orioles in a dispute about payment for television rights. The whole saga is difficult to parse, but suffice to say that the judge tossed out a previous ruling that had awarded the Washington Nationals millions of dollars for broadcast right to their games. The Orioles claimed that the decision cost them $800 million in lost revenue; the Hollywood Reporter called the dispute the “MLB’s civil war.”

“While we are very pleased that the court vacated the award, and did so for good reason, it is unfortunate that we had to bring this matter to the courts in the first place,” Orioles attorney Alan Rifkin said.