WASHINGTON ― The Senate voted Thursday to confirm Eric Murphy to the U.S. Court of Appeals for the 6th Circuit, meaning a 39-year-old lawyer who repeatedly led efforts to make it harder for people to vote will now be a lifetime federal judge.

Murphy, who has been the solicitor general of Ohio since 2013, was confirmed 52-46. Every Republican voted for him. Every Democrat voted against him. Two senators, Doug Jones (D-Ala.) and David Perdue (R-Ga.), did not vote.

Democrats criticized Murphy’s nomination for several reasons. He argued in 2015 that same-sex marriage would be “disruptive … to our constitutional democracy” in a brief he filed in the Obergefell v. Hodges marriage equality case before the Supreme Court. In 2014, he argued against women’s access to contraception in Sebelius v. Hobby Lobby.

But Murphy is perhaps best known for defending Ohio’s notorious voter purge law before the Supreme Court in 2018, arguing that the state should be able to drop people from its voter rolls if they don’t vote for six years and don’t respond to a postcard asking them to confirm their address. The court upheld the law in a contentious 5-4 decision, with Justice Sonia Sotomayor writing in her dissent that the law will disproportionately make it harder for “minority, low-income, disabled, homeless, and veteran voters to cast a ballot.”

That same year, Murphy argued in favor of upholding the so-called perfection requirement, allowing Ohio to discard ballots because of minor clerical errors.

In 2014, Murphy defended the elimination of Ohio’s “Golden Week,” a five-day period in which voters could register and vote at the same time. The state created the period in response to the 2004 election, when many Ohio voters were forced to wait in line for up to 12 hours to vote. The 6th Circuit ruled in favor of getting rid of the period, but Judge Jane Stranch wrote in her dissent that it would impose “a disproportionate burden on African Americans” and “was linked to social and historical conditions of discrimination that diminish the ability of African Americans to participate in the political process.”

In fiery remarks on the Senate floor, Sen. Sherrod Brown (D-Ohio) tore into Murphy’s nomination and said what is “most despicable” about his confirmation vote is that it comes on the 54th anniversary of Bloody Sunday, when civil rights marchers were beaten and tear-gassed as they marched in Selma, Alabama.

“I can’t imagine my Republican colleagues came from Georgia and Kansas … thinking, ‘I’m going to take the oath of office and you know what one of the things is I’m going to do? I’m going to vote to restrict voting rights,’” he said. ”‘I’m going to vote to tell gay people they can’t marry. I’m going to vote to take away worker rights. I’m going to vote for judges that put their thumb on the scale of justice.’ ... I can’t believe that’s why any of you came.”