NEWARK, N.J. (AP) — Attorneys representing New Jersey, the four professional sports leagues and the NCAA are heading to a federal appeals court in their yearslong battle over legalized sports gambling.

New Jersey is seeking to tap into a multibillion-dollar sports gambling market. The state is pinning its hopes Tuesday on the 3rd U.S. Circuit Court of Appeals in Philadelphia.

New Jersey has suffered several defeats in court since the leagues sued in 2012 to stop sports gambling, but it has argued that language in a 3rd Circuit ruling from 2013 gives it the legal authority to allow sports gambling.

In recent months, NBA Commissioner Adam Silver and Major League Baseball Commissioner Rob Manfred have expressed some level of support for taking a new look at legalized sports betting outside of Nevada.

Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.