Lawyers who successfully challenged a key provision of the Voting Rights Act can’t recover $2 million in legal fees from the federal government, a federal judge in Washington ruled Wednesday.

Wiley Rein represented Shelby County, Ala., in its suit against the government. A divided U.S. Supreme Court struck down one of the challenged sections of the voting rights law in June 2013.