MADISON, Wis. (AP) — Wisconsin Republican Assembly Speaker Robin Vos has appealed a ruling that would force him to be questioned by attorneys representing Democratic voters in a federal redistricting lawsuit.

Vos on Friday asked that the federal court put its order on hold while he appeals to the 7th U.S. Circuit Court of Appeals.

A three-judge panel on May 3 ruled that Vos is subject to questioning and must turn over documents as part of the lawsuit alleging the Republican-drawn maps are an unconstitutional gerrymander.

Vos argues he can’t be deposed due to legislative privilege, which protects lawmakers from being sued.

An attorney for Democrats says in a letter to Vos’s attorney that if does not turn over documents by May 22 and sit for a deposition on May 29 Vos will be in contempt of court.