MSNBC's Joe Scarborough on Thursday blasted President Trump for criticizing a panel of federal judges weighing whether to restore his travel ban.

"It's more than stunning, it is dangerous," Scarborough said on MSNBC's "Morning Joe."

"It is dangerous when you have executives trying to denigrate the judicial branch and judicial independence."

The president on Wednesday argued that the judges should immediately reinstate his executive order barring refugees and people from seven predominately Muslim countries from entering the U.S. in the interest of national security.

ADVERTISEMENT

“I don’t want to call a court biased, so I won’t call it biased,” the president said at a gathering of the Major Cities Chiefs Association in Washington.

“Courts seem to be so political and it would be so great for our justice system if they could read a statement and do what’s right.”

Trump also on Wednesday read aloud a portion of immigration law he believes backs up his travel ban.

It is highly unusual for presidents to publicly comment on court cases dealing with their policy proposals, particularly while a court is weighing a case.

Scarborough on Thursday emphasized the importance of judicial independence.

"When you say what he said about federal court, judges, it either is an attempt to intentionally discredit them so he can strip them of power down the road," Scarborough said.

"Or, it's a complete ignorance of the system."

Scarborough pointed to the president's comments that even a "bad high school student would understand this," which Trump made Wednesday when arguing the law gives him broad powers to control who enters and leaves the U.S.

"I think a lot of high school students could tell him that the 9th Circuit is left of center. The 11th Circuit is right of center. These things balance out. It is a system of checks and balances that began with Madison and Hamilton," Scarborough said.

"And presidents do not speak this way."