President Donald Trump tweeted Sunday afternoon that if “something happens” as a result of a federal judge’s decision blocking Trump’s executive order on immigration, the judge and the “court system” will be to blame.

“Just cannot believe a judge would put our country in such peril,” Trump tweeted. “If something happens, blame him and court system.”

On Friday, U.S. District Judge James Robart blocked Trump’s executive order temporarily barring visitors from seven predominantly Muslim countries from entering the United States.

Trump lambasted him on Twitter as a “so-called judge” on Saturday, and continued to tweet criticism of Robart through Sunday morning.

Because the ban was lifted by a judge, many very bad and dangerous people may be pouring into our country. A terrible decision — Donald J. Trump (@realDonaldTrump) February 4, 2017

Why aren’t the lawyers looking at and using the Federal Court decision in Boston, which is at conflict with ridiculous lift ban decision? — Donald J. Trump (@realDonaldTrump) February 4, 2017

The judge opens up our country to potential terrorists and others that do not have our best interests at heart. Bad people are very happy! — Donald J. Trump (@realDonaldTrump) February 5, 2017

Just cannot believe a judge would put our country in such peril. If something happens blame him and court system. People pouring in. Bad! — Donald J. Trump (@realDonaldTrump) February 5, 2017

I have instructed Homeland Security to check people coming into our country VERY CAREFULLY. The courts are making the job very difficult! — Donald J. Trump (@realDonaldTrump) February 5, 2017

Senate Majority Leader Mitch McConnell (R-KY) broke with Trump in an interview on CNN’s “State of the Union” on Sunday.

“It is best not to single out judges,” McConnell said. “We all get disappointed from time to time. I think it is best to avoid criticizing them individually.”

Sen. Ben Sasse (R-NE) also pushed back on Trump’s comments Sunday morning.

“I’ll be honest, I don’t understand language like that. We don’t have so-called judges. We don’t have so-called senators. We don’t have so-called presidents,” he said. “We have real judges.”

Vice President Mike Pence said in an interview aired Sunday that Robart “certainly” had the right to halt the order.