Matt Rourke, Associated Press
FILE - This Wednesday, July 31, 2013 photo shows Gov. Tom Corbett at Dow Chemical's new research-and-development facility in Collegeville, Pa. Corbett compared the marriage of same-sex couples to the marriage of a brother and sister during an appearance on a morning TV news show, Friday, Oct. 4, 2013.

HARRISBURG, Pa. — Pennsylvania Gov. Tom Corbett and state Attorney General Kathleen Kane are separately seeking to be released as defendants in a federal lawsuit seeking to overturn the state's gay-marriage ban.

In papers filed Monday in Harrisburg federal court, Corbett's lawyer, William Lamb, argued that the U.S. Constitution provides state officials immunity from being sued in federal court without their consent. Lamb also says Corbett and Health Secretary Michael Wolf should be dismissed because federal courts have no jurisdiction over such cases.

A lawyer for Kane, who has said the gay-marriage ban is unconstitutional and refused to defend it in court, say she should not be a defendant because she is not enforcing the law.

The lawsuit was the first of a growing number of legal challenges to the Pennsylvania law.