The Stronach Group, operators of horse race tracks across the nation, has cashed in its winning ticket in a settlement and is set to receive $500,000 over the next year from the owners of Derby Wars, a website offering a fantasy game based on horse racing, which it sued in 2015.

The ruling caps two years of litigation that began when the Stronach Group, which operates Santa Anita Park in Greater Los Angeles, Golden Gate Fields in the San Francisco Bay Area and Pimlico in Baltimore, among others, sued Horse Racing Labs. The tracks argued that they should be compensated for providing the competition that the Derby Wars handicapping competition was based on.