Soon after he undercut President Donald Trump's baseless claims of widespread voter fraud in early December, Attorney General William Barr's time atop the Justice Department hurtled to its end.
The President and his allies attacked Barr in public and private, making clear that he should retract his assessment or spend the last weeks of the administration belittled and possibly fired in humiliating fashion.
Barr got to work on a face-saving exit plan, according to people familiar with his efforts. He and allies began back-channel communications with the White House to gauge his chances at an amicable parting, and he spent a weekend writing a letter that would announce his departure while preserving his relationship with the President.
The effort succeeded in allowing Barr to leave largely on his terms. Trump heaped praise on Barr in announcing his exit, and the Attorney General returned the favour, blurring the fact that he had been all but pushed out.
The orchestrated farewell was a reflection of how Barr navigated his tenure running a Justice Department for a president who viewed it as hostile toward him. Barr's time was largely defined by the perception that he set aside the department's independence to advance the President's political and personal interests, chiefly by undermining its own investigation into Russia and the Trump campaign and by wading into campaign issues, including playing up fears of voter fraud.
But Barr also showed flashes of autonomy at the end of his tenure. His reversal on voter fraud broke from the President. He said he saw no need for a special counsel to investigate President-elect Joe Biden's son Hunter as Trump clamoured for one. And Barr even acknowledged that some of his suspicions about the Obama administration's examination of Russian election interference were misguided.
Historians will debate whether Barr, 70, was trying to preserve his reputation. Already a polarising figure, he had faced a new groundswell of criticism in recent weeks for easing restrictions on election-related investigations as Trump ramped up his complaints about voting irregularities and for ensuring that the department's examination of the Russia investigation continues into the Biden administration.
Barr's allies say he simply followed his instincts, honed by his maximalist view of executive power, and was untroubled by perceptions that he was serving Trump's personal agenda.
Either way, an examination of Barr's tenure, based on interviews with allies, critics, current and former law enforcement officials and academics shows that no matter what Barr says or does, Trump will ultimately define his legacy as attorney general.
"Bill Barr will be inexorably tied to Donald Trump," said Nancy Baker, a political scientist who studies attorneys general and interviewed Barr for an oral history project by the Miller Centre at the University of Virginia. While administration critics credited Barr for refuting Trump's false election assertions, ultimately, she said, "he will always be Trump's guy".
Barr, who left the job last week, said at his final news conference that he accepted the post because he felt he could help the department during a fraught period.
"I knew I was signing up for a difficult assignment in this department. As I've said, there were rough times," said Barr, who declined to answer questions for this article. "I don't regret coming in because I think it's always an honour to serve the nation."
When Barr, who had been attorney general during the administration of George HW Bush, returned to the office early last year, some Trump critics viewed his experience as a potential check on the President. But his own record showed that Barr regarded presidential power as broad, and Trump offered a chance to restore what Barr saw as executive authority lost in the post-Watergate era.
"As a Cabinet member, the attorney general was supportive of the administration and many of its priorities. He was unfairly criticised for that," said Brian Rabbitt, his former chief of staff and the outgoing head of the Justice Department's criminal division. "But you don't take a job like his to resist. You take the job to help the administration."
Barr was passionate about issues including expanding religious freedoms and supporting Native American reservations and tribal law enforcement offices, former colleagues said, and he largely continued his Bush-era fight against drugs, violent crime and what he deemed to be politically motivated prosecutions.
That work was eclipsed by the Russia investigation, which both he and Trump believed represented an abuse of power by the FBI.
"He had a vigilante attitude toward the Russia investigation — 'I alone will fix this,'" said Rebecca Roiphe, a professor at New York Law School who studies the history and ethics of the legal profession.
After his February 2019 confirmation, Barr embarked on what department officials said was a single-minded mission to expose any wrongdoing by investigators.
Barr began by reshaping the public's perception of the most politically charged investigation in a generation in the best possible light for Trump. He went on to frame it as a political cudgel used to "sabotage" Trump's presidency, even after the Justice Department's inspector general concluded otherwise.
"Prosecutors can sometimes become head hunters, consumed with taking down their target," Barr said. He said in his final days in office that the investigators for the special counsel, Robert S Mueller III, were too biased to expose FBI wrongdoing.
Barr went beyond talk, tapping John H Durham, the US attorney in Connecticut, to open a criminal investigation into the origins of the Russia inquiry. Barr talked up Durham's work in the months before the election, flouting Justice Department norms to avoid publicly discussing ongoing criminal investigations as Trump promoted the inquiry as certain to prove a "deep state" plot against him.
"He had a blind spot on Russia," Baker said of Barr. "Blind to the fact that he acted politically in his treatment of the Russia investigation, even if in his mind he acted out of his belief that his actions were consistent with the rule of law."
After the election, amid a storm of complaints from Trump's allies that Durham had not revealed information that could have helped the President, Barr downplayed expectations that he would expose criminal acts. He told a Wall Street Journal opinion columnist that by focusing solely on indictments, the political class excuses other contemptible behaviour.
And though in the same interview he backed off his suspicions of the CIA's examination of Russian election interference in 2016, he also confirmed Durham was still reviewing the 2017 intelligence community assessment about Russian election interference.
Inside the Justice Department, the turning point came with Barr's interventions in two high-profile cases stemming from the Russia inquiry, those of Trump's longtime friend Roger Stone and his former national security adviser Michael Flynn. Some prosecutors withdrew from the cases. A few left the department entirely. A typically discreet workforce began to call for Barr's resignation and accuse him of turning the department "into a shield to protect the President" and a tool for Trump to settle political scores.
Barr rebuffed those allegations, publicly rebuking Trump for opining on the Stone case. Former aides said Barr was conveying the message to both Trump and federal prosecutors that he acts based on his convictions, not politics.
But Barr's interventions in ways that benefited Trump extended beyond the special counsel investigation. Examining Trump's dealings with Ukraine that prompted impeachment, the Justice Department quickly determined he had not committed a campaign finance crime, well before the President's broad efforts to pressure Kyiv came into focus.
The department also took on lawsuits over books written by Trump adversaries. In the case of the former national security adviser John Bolton, who had fallen out of Trump's favour, it opened a criminal inquiry into whether he illegally disclosed classified information.
Being a successful attorney general "is not just about doing the right thing, it's about preserving the legitimacy of the institution," Roiphe said. "Even if he honestly held these beliefs, he addressed them in ways that were only respected by his own political followers."
Some Justice Department officials believed that Barr privately honed the President's belief that his attorney general was his political fixer and used that capital with Trump to protect the department, shielding it from blowback when it prosecuted cases that interfered in trade negotiations with China and to protect the FBI director, Christopher Wray, from being fired over the President's animosity toward the bureau.
Buffeted by attack, Barr kept an unusually small inner circle of aides and relied on them, rather than the heads of the department's divisions, for advice, according to former officials.
Barr seemed to scorn input from elsewhere in the department, particularly from the career staff, as unnecessary noise that slowed down his fast deliberative process, former officials said.
Barr made his low opinion clear in a speech this year, saying that no successful organisations deemed decisions by low-level employees "sacrosanct" or deferred to "whatever those subordinates want to do".
Barr seemed blindsided by a string of miscues earlier this year, chiefly his leadership of the federal response to this year's nationwide protests over racial injustice. Barr came under fire for ordering federal officers to clear a park near the White House in June just before Trump's widely criticised photo op outside a church. Frustrating some in the White House, he also contradicted Trump's explanation for sheltering in a bunker during protests.
And later that month, Trump distanced himself almost immediately from Barr's dismissal of the top federal prosecutor in Manhattan.
In his final weeks, Barr began to see Trump's agenda, which he supported, as separate from the President himself and his personal shortcomings, like his refusal to accept the results of the election, associates said.
Barr accepted Biden's win and said no amount of fraud he had seen would overturn it. He had already resisted Trump's pressure late in the campaign to prosecute Democrats.
He also kept quiet the potentially explosive news that Hunter Biden was under criminal investigation. Disclosing that, associates said, could have undermined a future Biden presidency, an act Barr saw as a potential echo of the investigation opened four years earlier into Trump.
Written by: Katie Benner
Photographs by: Doug Mills, Anna Moneymaker and TJ Kirkpatrick
© 2020 THE NEW YORK TIMES