WASHINGTON, Nov. 5 (Xinhua) -- Chief Pentagon Spokesman Jonathan Hoffman Thursday denied media reports that Secretary of Defense Mark Esper had prepared a letter of resignation.

"The NBC story is inaccurate and misleading in many ways. To be clear, Secretary of Defense Esper has no plans to resign, nor has he been asked to submit a letter of resignation," Hoffman tweeted.

Citing three defense officials, NBC reported earlier in the day that the Pentagon chief had "prepared his letter because he is one of the Cabinet officials long expected to be pushed out after the election."

Esper is helping lawmakers draft legislation to remove Confederate names from military bases, which could lead to a further rift between him and President Donald Trump, the report said.

For months, U.S. media has been reporting about Trump's frustration with Esper, who opposed using active-duty troops against civil unrest in June when Trump threatened to send military forces to crack down on nationwide demonstrations against racial injustice.

At a press briefing in August, when asked if he would fire Esper, Trump said that he "considers firing everybody."

Esper took office as the 27th U.S. defense secretary in July 2019. Esper's predecessor Jim Mattis left office in December 2018 after clashing with Trump over the withdrawal of U.S. troops from Syria.