President Donald Trump said Robert Mueller is behaving "viciously," a day after the special counsel accused Trump's former campaign chairman of lying in breach of an agreement to cooperate with authorities.

In one of his most sustained and rambling attacks yet, Trump said on Twitter Tuesday that Mueller is "ruining lives" as punishment against witnesses who he said refuse to lie. The president's attack on the investigation comes after Mueller said in court filings Monday that a cooperation pact with Trump's one-time campaign chief, Paul Manafort, was void because Manafort lied to federal investigators and prosecutors.

The rupture in relations could hamper Mueller's ability to turn other insiders against Trump in the investigation of Russian meddling in the 2016 election, and has raised questions about whether Manafort could be angling for a presidential pardon.