Voting 59 to 39, the U.S. Senate on Thursday confirmed David Hamilton’s nomination to the 7th U.S. Circuit Court of Appeals.

The Hamilton nomination stalled for five months amid criticism from Republican lawmakers about Hamilton’s pro bono work for the Indiana chapter of the American Civil Liberties Union. Earlier this week, the Republican caucus fell short of maintaining a filibuster.