The U.S. Court of Appeals for the Fourth Circuit on Thursday allowed a federal civil rights lawsuit to proceed challenging Virginia’s felon voter ban.

Lawsuits “that would otherwise be barred by a State’s sovereign immunity may proceed when a plaintiff seeks forward-looking relief to halt an ongoing violation of federal law,” wrote Fourth Circuit Judge Toby J. Heytens.