Jeff Sessions reportedly told the White House that he would find it difficult to remain as attorney general — and would likely walk — if President Trump were to fire his deputy, Rod J. Rosenstein, in the middle of the Russia investigation.

He made the veiled threat last week during a conversation with White House counsel Donald McGahn, according to the Washington Post.

Sources familiar with the exchange told the newspaper that the two spoke not long after Rosenstein signed off on the FBI raid targeting the president’s personal attorney Michael Cohen.

The deputy attorney general has been overseeing the Russian meddling probe since last spring, when Sessions decided to recuse himself.

Trump reportedly told White House officials last week that he was thinking about firing Rosenstein following his decision to approve the raid on Cohen. He later called the raid and the DOJ’s entire investigation a “disgraceful situation” — and “a total witch hunt.”

A senior administration official told the Post that Sessions has been upset with the way Trump’s treated Rosenstein in recent months. The president reportedly refers to the deputy AG as “Mr. Peepers” — a character from a 1950s television sitcom.

Since the AG and Trump are already on bad terms as it is, though, there’s been nothing much Sessions can do, the source said.

An official with knowledge of Sessions’ conversation with McGahn said the AG’s statement about resigning was meant more as an attempt to convey transparency and the difficult position he’d be put in, should the president give Rosenstein the boot.

Rosenstein has reportedly told Trump that he’s not the target of the Cohen investigation.