US Attorney General William Barr has said that President Donald Trump "undercuts" him by tweeting, making it "impossible for me to do my job".
His criticism of Mr Trump comes amid intense scrutiny of the Justice Department over the handling of a case involving Roger Stone - a convicted former advisor to the president.
The attorney general had been accused of bowing to presidential pressure.
Mr Barr's comments are a rare sign of annoyance with Mr Trump.
"I think it's time to stop the tweeting about Department of Justice criminal cases," Mr Barr told ABC News.
"I cannot do my job here at the department with a constant background commentary that undercuts me," he added.
BBC
Russia's unmanned Luna-25 spacecraft has crashed into the Moon after spinning out of control, officials say.
Donald Trump has confirmed that he will not take part in Republican presidential debates with his rivals in the race for the White House.