John Avlon reality check 1-15-19
CNN
John Avlon reality check 1-15-19
Now playing
03:20
Barr's 'Back to the Future' confirmation hearing
CNN
Now playing
01:12
Tapper asks Buttigieg for infrastructure plan timeline
Now playing
02:48
GOP governor calls Trump's RNC remarks 'divisive'
WASHINGTON, D.C. - APRIL 19, 2018:  The U.S. Supreme Court Building in Washington, D.C., is the seat of the Supreme Court of the United States and the Judicial Branch of government. (Photo by Robert Alexander/Getty Images)
Robert Alexander/Getty Images
WASHINGTON, D.C. - APRIL 19, 2018: The U.S. Supreme Court Building in Washington, D.C., is the seat of the Supreme Court of the United States and the Judicial Branch of government. (Photo by Robert Alexander/Getty Images)
Now playing
02:39
SCOTUS blocks California Covid restriction on religious activities
rep jim clyburn georgia voting law jim crow sot sotu vpx_00000000.png
rep jim clyburn georgia voting law jim crow sot sotu vpx_00000000.png
Now playing
02:13
Rep. Clyburn blasts GA voting law: It's the 'new Jim Crow'
Joe Manchin
CNN
Joe Manchin
Now playing
02:03
'I never thought in my life ...' Why Manchin won't walk away from bipartisanship
Gaetz speaks to members of the media outside the hearing Michael Cohen, former attorney and fixer for President Donald Trump, testifies at before the House Committee on Oversight and Reform at Rayburn House Office Building February 27, 2019 on Capitol Hill in Washington, DC. Last year Cohen was sentenced to three years in prison and ordered to pay a $50,000 fine for tax evasion, making false statements to a financial institution, unlawful excessive campaign contributions and lying to Congress as part of special counsel Robert Mueller's investigation into Russian meddling in the 2016 presidential elections.
Alex Wong/Getty Images
Gaetz speaks to members of the media outside the hearing Michael Cohen, former attorney and fixer for President Donald Trump, testifies at before the House Committee on Oversight and Reform at Rayburn House Office Building February 27, 2019 on Capitol Hill in Washington, DC. Last year Cohen was sentenced to three years in prison and ordered to pay a $50,000 fine for tax evasion, making false statements to a financial institution, unlawful excessive campaign contributions and lying to Congress as part of special counsel Robert Mueller's investigation into Russian meddling in the 2016 presidential elections.
Now playing
06:11
'Bombastic, antagonistic, unapologetic': A look at Gaetz's political career
Former House Speaker John Boehner attends a ceremony to unveil a portrait of himself on Capitol Hill, Tuesday, Nov. 19, 2019 in Washington.
Michael A. McCoy/AP
Former House Speaker John Boehner attends a ceremony to unveil a portrait of himself on Capitol Hill, Tuesday, Nov. 19, 2019 in Washington.
Now playing
02:42
Boehner says Republican colleague held 10-inch knife to his throat outside House floor
President Joe Biden, accompanied by Vice President Kamala Harris, and Attorney General Merrick Garland, speaks about gun violence prevention in the Rose Garden at the White House, Thursday, April 8, 2021, in Washington.
Andrew Harnik/AP
President Joe Biden, accompanied by Vice President Kamala Harris, and Attorney General Merrick Garland, speaks about gun violence prevention in the Rose Garden at the White House, Thursday, April 8, 2021, in Washington.
Now playing
02:05
Biden calls for ban on assault weapons
CNN
Now playing
02:22
Biden: High-speed internet is infrastructure
AFP/Getty Images
Now playing
03:24
Donald Trump breaks his silence on Matt Gaetz
CNN/WLOX
Now playing
01:43
'He says the quiet part out loud': Borger reacts to GOP election official's remark
AFP/Getty Images
Now playing
02:30
Haberman: Trump had to be talked out of defending Matt Gaetz
CNN
Now playing
03:26
Georgia's Lt. governor says elections law was a result of Trump's misinformation
Now playing
02:38
GOP lawmakers can't give examples of why states need anti-transgender sports bills
CNN
Now playing
03:04
Avlon reacts to McConnell's advice to corporations
(CNN) —  

President Donald Trump was startled Tuesday as he watched television coverage of his nominee for attorney general describing a warm relationship with the special counsel Robert Mueller in front of the Senate Judiciary Committee, according to three people familiar with the matter.

During the first day of his confirmation hearing, William Barr described telling the President the first time he met him in June 2017 that he was friends with Mueller, referring to him on a first name basis.

“I told him how well I knew Bob Mueller and that the Barrs and Muellers were good friends and would be good friends when this was all over,” Barr said. “Bob is a straight-shooter and should be dealt with as such.”

While Barr said during his hearing that Trump “was interested” in hearing about the friendship, the details that emerged this week caught the President off guard, the three sources said. He bristled at Barr’s description of the close relationship, complaining to aides he didn’t realize how much their work overlapped or that they were so close.

There is no indication Trump’s surprise will jeopardize the nomination, however.

Later, Trump privately rationalized the relationship between Barr and Mueller as stemming from both having worked in the Washington legal establishment for years, according to one of the people.

“I have known Bob Mueller for 30 years,” Barr said Tuesday. “We worked closely together throughout my previous tenure at the Department of Justice under President Bush. We’ve been friends since. And I have the utmost respect for Bob and his distinguished record of public service. And when he was named special counsel, I said his selection was ‘good news’ and that, knowing him, I had confidence he would handle the matter properly. And I still have that confidence today.”

On Tuesday, Barr repeatedly sought to reassure senators that he would not interfere with Mueller’s investigation, claiming he wouldn’t be “bullied” into doing anything he deemed improper.

“I am not going to do anything that I think is wrong, and I will not be bullied into doing anything I think is wrong,” Barr told the panel. “By anybody. Whether it be editorial boards, or Congress or the President. I’m going to do what I think is right.”

For more than eight hours, Barr, 68, appeared at ease, rarely wavering from a measured tone despite facing extraordinary questions into how he would handle the probe that could imperil the presidency. Under a Republican-controlled Senate, and needing only a simple majority vote, Barr seems all but certain to be confirmed to the same post he held under President George H.W. Bush.

Many of the senators’ questions regarded the Mueller probe, which Barr would oversee as attorney general. Barr pledged to release “as much as I can” of Mueller’s findings to the public, to provide Mueller with the resources and time to finish the job, to not terminate Mueller without good cause and to notify Congress if he denied a major request during the investigation. He said he would resign “if someone tried to stop a bonafide, lawful investigation to try to cover up wrongdoing.”

CNN’s Alex Rogers contributed to this report.