A federal appellate court on Tuesday denied Texas Gov. Rick Perry’s appeal to add his name to Virginia’s Republican presidential primary ballot.

Perry, former Pennyslvania senator Rick Santorum, former House speaker Newt Gingrich (Ga.) and former Utah governor Jon Huntsman Jr. had failed to qualify for the ballot and sued the State Board of Elections and the state GOP.

U.S. District Judge John A. Gibney Jr. said Friday that the candidates should have challenged the qualification rules months ago. The 4th Circuit Court of Appeals agreed. The appellate court on Tuesday upheld Gibney’s decision.

Only former Massachusetts governor Mitt Romney and Rep. Ron Paul (Tex.) qualified for the Virginia ballot.

Virginia will hold its primary on Super Tuesday, March 6. Absentee voting begins Friday.

“I am pleased with the Fourth Circuit ruling and that Virginia’s orderly election process will be able to move forward,’’ Attorney General Ken Cuccinelli (R) said in a statement.