Despite Gov. Terry McAuliffe’s sweeping executive order that sought to restore voting rights to felons in Virginia, they will not be able to cast their ballot at voting booths come November thanks to the commonwealth’s Supreme Court, which declared the order unconstitutional on Friday.

The high court heard oral arguments earlier this week. The plaintiffs in the case, led by leaders from the Republican-controlled legislature, argued that McAuliffe’s move was unconstitutional. The court agreed, and ordered the Virginia Department of Elections to “cancel the registration of all felons who have been invalidly registered,” under the April 22 executive order.

As many as 11,662 felons had registered to vote thanks to the executive order. The order was widely viewed as a move to help Hillary Clinton by all-but-ensuring Virginia goes blue in the November general election, since most convicts register Democratic.