WASHINGTON (CBS NEWS) – The Supreme Court has upheld President Trump’s travel ban on Tuesday by a 5-4 vote, saying in its opinion that the order is “squarely within the scope of Presidential authority.”

The 5-4 decision Tuesday is the court’s first substantive ruling on a Trump administration policy.  The president reacted to news of the ruling, tweeting “wow.”

READ MORE: Assistant Chief Of Police Operations Gary Tittle New Top Cop In Richardson

Mr. Trump later hailed the ruling as a “tremendous victory for the American People and the Constitution.”

“This ruling is also a moment of profound vindication following months of hysterical commentary from the media and Democratic politicians who refuse to do what it takes to secure our border and our country.  As long as I am President, I will defend the sovereignty, safety, and security of the American People, and fight for an immigration system that serves the national interests of the United States and its citizens,” he added.

READ MORE: Blue Mound Police: Meth, Cocaine, Heroin Among Drugs Found After 'Routine' Traffic Stop

Meanwhile, Attorney General Jeff Sessions said the ruling was “critical to ensuring the continued authority of President Trump – and all future presidents – to protect the American people.”

♦♦♦ Click Here To Read The Supreme Court Opinion ♦♦♦

Chief Justice John Roberts wrote the majority opinion, joined by his four conservative colleagues. Roberts wrote that presidents have substantial power to regulate immigration. “The sole prerequisite,” Roberts wrote, is “that the entry of the covered aliens ‘would be detrimental to the interests of the United States.’ The President has undoubtedly fulfilled that requirement here.” Roberts pointed out that Mr. Trump had ordered an evaluation of every country’s compliance with the risk assessment baseline and then issued the findings.

♦♦♦ Click Here To Read The FULL STORY On cbsnews.com ♦♦♦

MORE NEWS: Railroad Inspector Tremelle Sykes Charged With Lying About Inspections In Texas

(© 2018 CBS Interactive Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)