The Senate voted 66-34 Tuesday to confirm President Obama’s nominee to lead the Consumer Financial Protection Bureau (CFPB).

Richard Cordray was one of several controversial nominees that Republicans will allow to get an up-or-down vote after Senate Majority Leader Harry ReidHarry ReidAfter healthcare fail, 4 ways to revise conservative playbook Dem senator 'not inclined to filibuster' Gorsuch This obscure Senate rule could let VP Mike Pence fully repeal ObamaCare once and for all MORE (D-Nev.) threatened to use the “nuclear option” to change the Senate rules by eliminating the ability of the minority to filibuster an executive branch nominee.

"More than 700 days since its creation American citizens are just now getting a vote for a consumer watchdog to head the agency," Sen. Sherrod BrownSherrod BrownOvernight Finance: Trump slump: Stocks fall as hopes fade | Trump repeals 'blacklisting rule' | GOP looks to tax bill for lifeline: Dems question potential Kushner real estate deal with Chinese firm The Hill’s Whip List: Where Dems stand on Trump’s Supreme Court nominee MORE (D-Ohio) said after the vote. "Confirming Richard Cordray was the right thing to do."

Republican Sens. Saxby ChamblissSaxby ChamblissWyden hammers CIA chief over Senate spying Cruz is a liability Inside Paul Ryan’s brain trust MORE (Ga.), Tom CoburnTom CoburnDon't be fooled: Carper and Norton don't fight for DC Coburn: Trump's tweets aren't presidential The road ahead for America’s highways MORE (Okla.), Susan CollinsSusan CollinsThis week: GOP picks up the pieces after healthcare defeat GOP senators pitch alternatives after House pulls ObamaCare repeal bill Five takeaways from Labor pick’s confirmation hearing MORE (Maine), Jeff FlakeJeff FlakeOvernight Tech: SCOTUS hears venue shopping arguments | House to vote on broadband privacy | UK weighs in on encryption House to vote Tuesday on blocking Obama internet privacy rules Week ahead in tech: FCC privacy rules on the ropes MORE (Ariz.), Lindsey GrahamLindsey GrahamSenate takes up Montenegro treaty Republicans giving Univision the cold shoulder: report Graham: 'I'm glad' Ivanka will be working in the White House MORE (S.C.), Johnny IsaksonJohnny IsaksonOvernight Finance: Senators spar over Wall Street at SEC pick's hearing | New CBO score for ObamaCare bill | Agency signs off on Trump DC hotel lease GOP senators offer bill to require spending cuts with debt-limit hikes Schumer to House GOP: 'Turn back before it's too late' MORE (Ga.), John McCainJohn McCainSenate takes up Montenegro treaty A great military requires greater spending than Trump has proposed Cheney: Russian election interference could be ‘act of war’ MORE (Ariz.), Rob PortmanRob PortmanOvernight Finance: Senators spar over Wall Street at SEC pick's hearing | New CBO score for ObamaCare bill | Agency signs off on Trump DC hotel lease GOP senators offer bill to require spending cuts with debt-limit hikes Vulnerable Senate Dem: Border tax concerning for agriculture MORE (Ohio), Roger WickerRoger WickerAs US healthcare changes, preventative screenings can't stop A guide to the committees: Senate Pruitt confirmation sets stage for Trump EPA assault MORE (Miss.), Orrin HatchOrrin HatchOvernight Finance: US preps cases linking North Korea to Fed heist | GOP chair says Dodd-Frank a 2017 priority | Chamber pushes lawmakers on Trump's trade pick | Labor nominee faces Senate US Chamber urges quick vote on USTR nominee Lighthizer Live coverage: Day three of Supreme Court nominee hearing MORE (Utah), Bob CorkerBob CorkerSenate takes up Montenegro treaty GOP lawmaker: Time to work with Dems on healthcare GOP senator: I'm ready to work with Trump, Dems on healthcare MORE (Tenn.) and Lisa MurkowskiLisa MurkowskiElle honors 10 at annual 'Women in Washington' event Five takeaways from Labor pick’s confirmation hearing ObamaCare repeal faces last obstacle before House vote MORE (Alaska) voted with Democrats to confirm Cordray.

Earlier Tuesday, 17 Republicans joined Democrats in a 71-29 vote to end debate on Cordray’s nomination. 

Republicans had objected to Cordray as a way to demand reforms to the bureau, which was created in 2010 by the Dodd-Frank Wall Street Reform Act. CFPB was designed to protect consumers from predatory banks and lenders after the financial crisis partially caused by shady mortgage lending.

Sen. Chuck GrassleyChuck GrassleyRNC head: Dems acting ‘petty’ to Gorsuch Dems delay Senate panel vote on Supreme Court nominee Grassley wants details on firm tied to controversial Trump dossier MORE (R-Iowa) and other Republicans have complained that the bureau lacks congressional accountability and oversight. 

Sen. Mike CrapoMike CrapoSenators war over Wall Street during hearing for Trump's SEC pick Overnight Finance: Biz groups endorse Trump's Labor pick | New CBO score coming before health bill vote | Lawmakers push back on public broadcasting cuts Senate Banking panel seeks proposals for economic growth MORE (R-Idaho), ranking member on the Senate Banking Committee, also pointed out that Republicans want to replace Cordray's director position with a bipartisan “board of directors with staggered terms.” He also expressed concern over recent reports that the bureau is conducting “unprecedented data collection.”

“The CFPB is collecting credit card data, bank account data, mortgage data and student loan data,” Crapo said ahead of the vote. “This ultimately allows the CFPB to monitor a consumer’s monthly spending habits.”

The D.C. District Court recently ruled Cordray’s recess appointment was unconstitutional, but now with Senate backing he will be able to serve a full five-year term as head of the agency.

Earlier Tuesday, Reid announced lawmakers had a deal to avoid the “nuclear option” and hold votes on several of President Obama’s controversial nominees, in addition to Cordray.

Democrats are hoping to vote in the next two weeks on Fred Hochberg to be president of the Export-Import Bank, Thomas PerezThomas E. PerezClinton’s top five vice presidential picks Government social programs: Triumph of hope over evidence Labor’s 'wasteful spending and mismanagement” at Workers’ Comp MORE to be secretary of Labor, and Gina McCarthyGina McCarthyEPA chief: ‘Help is on the way’ for farmers Trump moves to kill Obama water rule Obama EPA chief: Pruitt must uphold ‘law and science’ MORE to be administrator of the Environmental Protection Agency, in addition to several National Labor Relations Board nominees.

Democrats said Cordray’s confirmation was needed to give banks and consumers certainty. Republicans argued that his nomination was delayed — nearly two years — because they were exercising the right to “advise and consent” on executive branch nominees granted under the Constitution.