The Senate voted 59-40 on Thursday to confirm the controversial nomination of Gina McCarthy to lead the Environmental Protection Agency.

GOP Sens. Lamar Alexander (Tenn.), Susan Collins (Maine), Bob Corker (Tenn.), Jeff Flake (Ariz.), Kelly Ayotte (N.H.) and John McCain (Ariz.) voted for McCarthy’s confirmation, while Sen. Joe Manchin (D-W.Va.) joined most Republicans in voting against her nomination.

“My fight is not with her, it’s with the agency and the president,” Manchin said ahead of the vote. “And the fight will continue until the EPA stops its over-regulatory rampage.”