Virginia’s attorney general has threatened legal action against the NCAA if the decision to exclude James Madison from bowl consideration isn’t reversed.

Due to NCAA rule, James Madison is not eligible for a bowl game despite being undefeated. The Dukes became an FBS program this season, and the NCAA requires teams to be apart of the FBS for at least a season before they are deemed eligible for postseason play.

Virginia’s attorney general James Miyares is now threatening legal action if that decision is not reversed for James Madison.

“We are prepared to act on behalf of JMU in the unfortunate circumstance that JMU’s request for relief is not timely approved,” Miyares said in a letter, which was obtained by ESPN on Thursday. “Specifically, JMU is prepared to promptly file a lawsuit in the Western District of Virginia asserting that the bowl ban violates the antitrust and, potentially, other laws.”

With James Madison’s postseason ban, it is not eligible to compete in the Sun Belt Conference championship, spoiling its chances to play in a New Year’s 6 Bowl. The Dukes could still find their way into a lower-level bowl game, however, if there are not enough bowl-eligible teams at the end of the season.

James Madison is 10-0 on the season, ranked No. 18 in the latest AP Poll. The Dukes are not included in the CFP rankings due to their postseason ineligibility.