State officials say a recent court ruling that allows the Tohono O'odham Nation to build a sprawling casino near Phoenix is improper and want the case to go to trial.

A court filing submitted Wednesday said the court should base its decision on the intent of the state's gambling contract before it was approved by voters in 2002.

They insist the Tohono O'odham were aware that the contract was passed by voters opposed to new casinos. They want the case to go to trial.

The plaintiffs in the lawsuit include the state, the Gila River Indian Community and the Salt River Pima-Maricopa Indian Community.

U.S. District Judge David Campbell said in his recent ruling that the Tohono O'odham Nation's plan to build a casino on the edge of Glendale was legal under state law.