The U.S. Department of Justice has joined the dispute over New Jersey’s power to legalize sports wagering at casinos and horse-racing tracks.

The DOJ on Tuesday intervened in a suit by the National Collegiate Athletic Association and four major sports leagues that seeks to strike down New Jersey’s law as an encroachment on federal authority.