WASHINGTON — President Trump’s attorney claimed he wrote a tweet about disgraced former national security adviser Mike Flynn that appeared on the president’s personal Twitter feed Saturday and raised legal red flags.

“My mistake,” John Dowd, Trump’s personal lawyer, told Axios. Dowd said he drafted the tweet and passed it along to White House social media director Dan Scavino.

“I’m out of the tweeting business,” Dowd said. “I did not mean to break news.”

Dowd also told ABC News the tweet was “sloppy.”

Following Flynn’s guilty plea in special counsel Robert Mueller’s Russia probe Friday, Trump posted a tweet that raised new concerns about obstruction of justice.

“I had to fire General Flynn because he lied to the Vice President and the FBI. He has pled guilty to those lies. It is a shame because his actions during the transition were lawful. There was nothing to hide!,” Trump’s tweet said.

Questions immediately arose whether Trump knew Flynn had lied to the FBI and yet then directed then-FBI Director James Comey to let go of the Flynn investigation. Comey said he didn’t agree to Trump’s request and then was fired.

Rep. Adam Schiff (D-Calif.) said Trump’s tweet — no matter the author — is very serious.

“The president knew he (Flynn) had lied to the FBI, which means that when he talked to the FBI director and asked him effectively drop this case, he knew that Flynn had committed a federal crime,” Schiff told ABC’s “This Week.”

“So, to me, frankly, it’s more serious coming from the attorney than it would have been just coming directly from the president.”

Mueller’s team has issued four indictments against four former Trump campaign associates; two have pleaded guilty.

Trump has repeatedly denied any wrongdoing or collusion between his campaign and Russia operatives who sought to influence the 2016 election through cyber-attacks and a misinformation campaign.