RICHMOND, Va. (AP) -- Former attorneys for a condemned Virginia inmate are appealing a federal judge's ruling that they have no authority to appeal his case against his wishes.

Attorney Jon Sheldon asked the 4th U.S. Circuit Court of Appeals on Monday to appoint him and other lawyers to represent 42-year-old Robert Gleason Jr. Sheldon argues that Gleason was not competent to waive his appeals.

Gleason is scheduled to be executed on Wednesday.

U.S. District Judge Glen Conrad rejected that argument last week, ruling that two other competency evaluations showed Gleason was capable of making decisions in his case.

Gleason was serving life in prison when he killed his cellmate in 2009. He vowed to keep killing unless given the death penalty, then in 2010 he strangled another inmate as he awaited sentencing.