Sen. Rand Paul had vowed to oppose Mike Pompeo but reconsidered after talking to Trump

The Senate Foreign Relations Committee approved CIA Director Mike Pompeo as secretary of state after a Republican holdout changed his mind at the last minute, avoiding an embarrassing defeat for the White House.

Sen. Rand Paul of Kentucky had vowed to oppose Pompeo, but Paul tweeted shortly before the vote Monday that after speaking to both men, he was convinced that Pompeo now agreed with President Donald Trump that "the Iraq War was a mistake and it is time to leave Afghanistan."

The full Senate already was on track to confirm Pompeo's nomination this week after two Senate Democrats, both facing re-election battles in states that Trump won handily, signaled support earlier Monday. The Senate traditionally gives broad leeway to a president's Cabinet picks.

But Paul's reversal means Pompeo also got the approval of the Senate committee, thus keeping its record of approving every president's nominee for secretary of state. Nominations were not routinely submitted to the panel until the 20th century.

Republican lawmakers blamed Pompeo's difficulties on political partisanship in an election year, noting that many of the Democrats who oppose him now backed his nomination last year to head the CIA. He was confirmed by a vote of 66 to 32.

Trump excoriated Pompeo's opponents early Monday on Twitter as "Obstructionists," claiming that Democrats "will not approve hundreds of good people" by "maxing out" the confirmation process.

White House press secretary Sarah Huckabee Sanders went further, questioning the patriotism of Democrats.

"Look, at some point, Democrats have to decide whether they love this country more than they hate this president," she said on Fox News. "And they have to decide that they want to put the safety and the security and the diplomacy of our country ahead of their own political games."

Democrats had argued that the job of America's top diplomat, fourth in line to the presidency, is vastly different from CIA chief. They voiced concern that Pompeo would advocate for military force, not diplomacy, and would fail to serve as a counterbalance to Trump.

Pompeo graduated from the U.S. Military Academy at West Point and Harvard Law School. Now 54, he was elected to the House in 2010 as a tea party Republican from Kansas and served until he went to the CIA.

Sen. Robert Menendez of New Jersey, the ranking Democrat on the Foreign Relations Committee, said last week that he feared Pompeo would be a "yes man" to Trump's "worst instincts."

"I believe our nation's top diplomat must be forthright, and, more critically, (Pompeo's) past sentiments do not reflect our nation's values," Menendez said in announcing his no vote. "The American people deserve better."

Democrats and other opponents have criticized some of Pompeo's past statements as anti-Muslim and prejudiced against gays, lesbians, bisexuals and transgender people. Pompeo told the Senate committee last week that if he is confirmed, he would defend gay rights and respect minorities.

Menendez also said he was disillusioned that Pompeo had concealed, in private conversations, his then-secret trip to North Korea over the Easter weekend.

Pompeo met with ruler Kim Jong Un to help plan a proposed summit with Trump by mid-June. The White House hopes to persuade Kim to abandon his nuclear arsenal, an unlikely proposition. It was Kim's first meeting with a U.S. official.

Despite the Democratic opposition on the Foreign Relations Committee, others Senate Democrats lined up in his corner.

On Monday, Sen. Joe Manchin III, D-W.Va., and Sen. Joe Donnelly, D-Ind., joined Sen. Heidi Heitkamp, D-N.D., to announce support for Pompeo. Their votes should be enough to guarantee he squeaks through the narrowly divided Senate.

"After meeting with Mike Pompeo, discussing his foreign policy perspectives, & considering his distinguished time as CIA Director & his exemplary career in public service, I will vote to confirm Mike Pompeo to be our next Secretary of State," Manchin tweeted.

Their announcements also may push other moderate Democrats in Trump-friendly states to show they are willing to sometimes support the president. Pompeo's backers are hoping to also win over Sens. Doug Jones of Alabama and Claire McCaskill of Missouri.

Like Trump, Pompeo has voiced vehement opposition to the landmark 2015 deal that curbed Iran's nuclear development efforts.

Trump has threatened to abandon the accord on May 12, when the next deadline for sanctions renewal comes up. In his confirmation hearing, Pompeo said he would rather "fix" the deal by revising its terms than scrap it altogether.

Iran has rejected any attempts to rewrite the deal, and over the weekend, its foreign minister said the country might resume its nuclear activities if Trump pulls out.

In nominating Pompeo, Trump said the two men were "on the same wavelength" and shared a worldview, unlike his first secretary of state, Rex Tillerson. Trump fired Tillerson last month via Twitter.

Tillerson, a former CEO of Exxon Mobil, trimmed the State Department budget and staff during his tenure, demoralizing the diplomatic corps. Numerous senior positions remain empty.

In his confirmation hearing, Pompeo vowed to rebuild staffing and morale.