WASHINGTON, D.C. - CIA Director Mike Pompeo has been approved by the Senate Foreign Relations Committee to be secretary of state in a party line vote.

One Republican switched his vote late in the day, enabling Pompeo's nomination to advance to a vote by the full Senate.

Pompeo, had faced serious opposition before the Senate Foreign Relations Committee's vote until Monday. However, though he earlier did not appear to have enough votes to recommend him to the full Senate, he ended up with a slim majority after Sen. Rand Paul, R-Kentucky, changed his mind. President Trump said a few days ago that Rand Paul was a "very special guy" who has "never let me down."

Sen. Jeff Flake, R-Arizona, had also expressed some reservations about Pompeo, but told CBS News' Ed O'Keefe that he had also decided to support Pompeo's nomination. Sen. Heidi Heitkamp, D-North Dakota, last week became the first Democrat to announce her support for Pompeo.

Pompeo recently visited with North Korean leader Kim Jong Un, ahead of a meeting that's being planned between Kim and President Trump. He was named to the post of the nation's top diplomat after Mr. Trump fired Rex Tillerson last month. 

Senators like Chris Coons, D-Delaware, who was among the last Democrats on the foreign relations panel to announce his no vote, have said they're concerned that Pompeo won't speak up when he disagrees with the president, that he "will embolden, rather than moderate or restrain" Trump's "most belligerent and dangerous instincts."

Before his appointment to head the CIA, Pompeo was a Kansas congressman, who's district included Chautauqua County in south central Kansas.

The Associated Press contributed to this report.