Former U.S. Attorney Jessie Liu has reportedly resigned from the Treasury Department after her nomination to a top job in the agency was withdrawn.

An administration official told CNN that Liu submitted her resignation to the Treasury Department, effective Wednesday evening. She had gone to the department with the intention of serving as Treasury's undersecretary for terrorism and financial crimes, a Senate-confirmed position, but that opportunity was no longer available after President Trump Donald John TrumpHR McMaster says president's policy to withdraw troops from Afghanistan is 'unwise' Cast of 'Parks and Rec' reunite for virtual town hall to address Wisconsin voters Biden says Trump should step down over coronavirus response MORE withdrew her nomination.

Liu had previously headed the U.S. Attorney's Office in Washington, D.C., inheriting many cases stemming from former special counsel Robert Mueller Robert (Bob) MuellerCNN's Toobin warns McCabe is in 'perilous condition' with emboldened Trump CNN anchor rips Trump over Stone while evoking Clinton-Lynch tarmac meeting The Hill's 12:30 Report: New Hampshire fallout MORE’s Russia investigation, including those against Trump associate Roger Stone Roger Jason StoneJustice IG investigating Stone sentencing: report Romney says Trump's protest tweets 'clearly intended to further inflame racial tensions' Bannon trial date set in alleged border wall scam MORE and former FBI Deputy Director Andrew McCabe Andrew George McCabeGraham: Comey to testify about FBI's Russia probe, Mueller declined invitation Barr criticizes DOJ in speech declaring all agency power 'is invested in the attorney general' GOP votes to authorize subpoenas, depositions in Obama-era probe MORE, a frequent Trump foil.

ADVERTISEMENT

Trump officially withdrew her nomination for the Treasury Department job on Wednesday, raising concerns from Democrats that he was punishing her as political retaliation for investigating his allies.

A person familiar with the matter told CNN that the president was frustrated that Liu did not get more directly involved in the politically charged cases.

The Treasury Department did not immediately respond to a request for comment from The Hill.

The controversy over the withdrawal for Liu’s nomination comes as Trump goes after prosecutors and judges who have been involved in cases related to his associates.

All four prosecutors in Stone's case resigned after the Department of Justice asked for a lighter sentence than what was recommended for lying to Congress and witness tampering. Trump also hammered D.C. District Judge Amy Berman Jackson, whom Liu worked with, over her ruling in another case against former Trump campaign chairman Paul Manafort Paul John ManafortBannon trial date set in alleged border wall scam Conspicuous by their absence from the Republican Convention Ukraine language in GOP platform underscores Trump tensions MORE.

— This report was updated at 11:30 a.m.