As violence erupted in downtown Dallas during a deadly ambush on police, one ex-Congressman immediately blamed President Obama – and threatened his life.

Former Illinois Rep. Joe Walsh declared “War” on Obama and Black Lives Matter protesters in a now-deleted tweet during the Dallas chaos, and then continued ranting about how they are responsible for the deaths of officers.

“3 Dallas Cops killed, 7 wounded,” Walsh, a 54-year-old Tea Party Republican, tweeted soon after news of the attack broke.

“This is now war. Watch out Obama. Watch out black lives matter punks. Real America is coming after you.”

“4 Dallas Cops assassinated tonight. Blacks lives matter cheers. LGBT blames Christians. Obama defends Islam,” Walsh wrote as the death toll rose.

He also blamed the attack on “2 uneducated black thugs,” before police released any information about the suspects.