Lindsey Graham takes a dig at Trump over 'genius' claim

The South Carolina senator also spoke at length about special counsel Mueller.

The comment came when Graham, R-S.C., was asked if he thinks Trump is "like, really smart," as the president called himself on Twitter this weekend.

Graham went on to qualify his response, noting that he has had some harsh words for Trump in the past, including during the campaign when they were competitors.

"You can say anything you want to say about the guy, I said he was a xenophobic, race-baiting, religious bigot — I ran out of things to say!

"He won. Guess what: He's our president," Graham said.

"I think he's the right guy at the right time," the senator said of Mueller. "Let Mr. Mueller do his job and make sure next time we defend ourselves against the Russians."

He added, "We have yet to find out if they [Trump Jr. and others] took up" the offer by the Russian lawyer to give information to help the Trump campaign.

The South Carolina senator also dismissed criticism of Mueller by some Republicans.

"The View" co-host Joy Behar said, "It seems as though there's drumbeat from some in your party trying to discredit Mueller to bring him down."

"There's reason to look at what Russia did," Graham added, noting that although it was the Democratic National Committee's emails that were hacked and leaked in the 2016 election, the Republican Party could be targeted in the future.

"In a democracy, if you don't have each other's backs in stuff like this, then you lose control of democracy," he said.

At the beginning of the interview, Graham shared a story of how Meghan McCain helped point her father in the right direction when he faced a decision during his 2008 presidential bid. Graham said that the McCain campaign debated whether or not to "go after" then-candidate Sen. Barack Obama for controversial comments made by his pastor, Rev. Jeremiah Wright.

"Meghan said, 'Dad, don't do it. It's not right,' and all the smart people shut up, and John said 'Yeah, you're right Meghan," Graham said.

"She was brave enough to say something," Graham said.

ABC News' Allie Yang contributed to this report.