President Donald Trump's former lawyer Michael Cohen exits Federal Court after entering a guilty plea in Manhattan, New York City, November 29, 2018 Andrew Kelly | Reuters

Although Trump's tweet suggested that those crimes are unrelated to the president, the campaign violations that Cohen admitted committing involved hush-money payments the lawyer facilitated to two women, porn star Stormy Daniels and Playboy model Karen McDougal, who claim to have had affairs with the president more than a decade ago. Cohen told a judge that one of those payments was made at the direction of Trump to influence the 2016 election. Last week, Cohen also admitted lying to Congress in 2017 by making a statement that minimized Trump's involvement in an aborted real estate project in Russia and by claiming efforts for that project ended months earlier than they did. In their court filing Friday, Cohen's lawyers noted that he is cooperating with Mueller's ongoing investigation, and that he also has met with New York state tax officials who are also probing the president. WATCH: Trump underreported payments to Cohen in official disclosures, a potential violation