Attorney General Jeff Sessions is said to be deciding whether or not to fire former FBI deputy director Andrew McCabe based on his handling of the investigation into Hillary Clinton's use of a private email server.

McCabe was forced out of the FBI earlier this year amid an internal investigation into his conduct.

He is set to retire Sunday, and a possible firing — which could come as soon as Friday — would threaten his pension benefits.

Attorney General Jeff Sessions is reviewing a recommendation from the FBI's Office of Professional Responsibility to fire former FBI deputy director Andrew McCabe, The New York Times reported Wednesday.

McCabe was forced out of the FBI earlier this year amid an internal investigation by the Office of Inspector General into his approval of unauthorized disclosures to the media in October 2016 about the bureau's Hillary Clinton email investigation.

He's scheduled to retire on Sunday, and a possible firing — which sources told The Times could could as soon as Friday — could endanger his pension benefits.

The Department of Justice's inspector general Michael Horowitz reportedly concluded in a report that McCabe was not forthcoming during the OIG review. The FBI office subsequently recommended that Sessions fire McCabe, according to The Times.

The Wall Street Journal article at the center of the OIG's inquiry was published on October 30, 2016, two days after then-FBI director James Comey announced in a letter to Congress that the bureau was reopening its investigation into Clinton's use of a private email server to conduct government business when she was secretary of state.

The article was a highly detailed account of internal strife within the top ranks of the DOJ about how to proceed after FBI agents investigating former New York congressman Anthony Weiner discovered 650,000 emails on his laptop that could have been sent to or from Clinton's private email server. Many of the emails came from accounts belonging to Weiner's wife, Huma Abedin, who was also Clinton's longtime aide and a senior adviser to her campaign, The Journal reported.

At the same time, DOJ anticorruption prosecutors were at odds with FBI officials over whether to continue pursuing a separate investigation into the Clinton Foundation's financial dealings.

While DOJ officials believed there wasn't enough evidence to move forward with the probe and wouldn't authorize further investigatory measures, FBI officials, including McCabe, believed they had the authority to continue the investigation using whatever leads they had already acquired, the report said.

Justice Department rules prevent investigators from taking significant actions that could be seen as trying to influence an election. And when a senior DOJ official called McCabe in August 2016 to express his disapproval with the FBI's continued focus on the Clinton Foundation probe amid the heated election season, McCabe reportedly pushed back.

"Are you telling me that I need to shut down a validly predicated investigation?" McCabe said, according to The Journal.

The official replied, after a brief pause: "Of course not."

The reporter who authored the Journal's article, Devlin Barrett, was in touch with two top FBI officials on the phone two days before the story broke, according to text messages released in February. The officials were FBI lawyer Lisa Page, who often worked with McCabe, and then-FBI spokesman Michael Kortan.

While law-enforcement officials often speak to the press on background in order to provide more complete details about an ongoing story, they are prohibited from revealing information about ongoing investigations, like the Clinton emails and Clinton Foundation probes.

McCabe stepped down as deputy director in January after FBI director Christopher Wray briefed him about the impending OIG report about his conduct.

A frequent target of Trump's attacks

The deputy director's ouster came following a string of public attacks President Donald Trump leveled against him, accusing him of putting his thumb on the scale in favor of Clinton.

Trump's attacks were based on information contained in a separate Wall Street Journal article published one week before Barrett's.

McCabe's wife, Dr. Jill McCabe, mounted an unsuccessful run for a Virginia state Senate seat in 2015. The Journal reported on October 24, 2016 that her campaign received $675,000 in donations from the Virginia Democratic Party and from Common Good VA, the super PAC run by Democratic Virginia Gov. Terry McAuliffe, a longtime Clinton supporter. None of the donations came from Clinton or her family.

Trump latched onto the revelations, accusing McCabe of corruption and anti-Trump bias based on his wife's political campaign.

McCabe wasn't in charge of the Clinton investigation at the time, and didn't take on an "oversight role" in the probe until February 2016, long after his wife lost her election bid.

The FBI also released a trove of internal emails and documents in January that confirmed McCabe was not warned against becoming involved in the Clinton investigation. But he recused himself anyway following The Journal's report about his wife's campaign.

Most notably, the upcoming OIG report detailed by The Times stands in contrast to Trump's assertion, given its focus on McCabe's authorization of disclosures that ultimately resulted in a negative story about Clinton.