A protester holds up a sign that reads "No Muslim Ban Ever" as he protests against the Supreme Court ruling upholding President Donald Trump's travel ban outside the the Supreme Court in Washington, Tuesday, June 26, 2018. (AP Photo/Carolyn Kaster)

WASHINGTON (AP) - A long time coming, the Supreme Court’s ruling Tuesday in favor of President Donald Trump[1]’s travel ban hands the president a much-needed victory sure to embolden him in pressing hard-line immigration policies heading into the midterm elections.

The decision arrived just as Trump[2] was facing a political firestorm over the wrenching images of migrant children separated from their parents at the border. Bipartisan blowback to the family separations had caused the president to abruptly reverse course last week on the issue, and it raised questions about whether the hawkish immigration views that helped propel Trump[3] into office could sustain Republicans this fall.

Trump[4] took the court’s ruling as vindication for his beliefs, first outlined moments after he descended the Trump Tower escalator to launch his presidential campaign three years ago.

“The ruling shows that all of the attacks from the media and the Democrat politicians are wrong, and they turned out to be very wrong, and what we’re looking for as Republicans, I can tell you, is strong borders, no crime,” a defiant Trump[5] said from the White House[6]. “What the Democrats are looking at is open borders, which will bring tremendous crime.”

Trump[7] glossed over the fact that the court’s decision applied to the third version of his travel ban, not the original and far more sweeping version. Officials from across the government spent months crafting criteria to assess each country’s security situation and willingness to share information with the U.S. to ensure the final version would hold up in court.

The president was in the White House[8] residence when he found out about the 5-4 ruling. Among West Wing aides and outside Trump[9] advisers, there was a feeling of satisfaction that after months of what they viewed as overreaction in the media and from liberals, the highest court in the land found their policy to be legally sound.

“Donald Trump[10] ran on and won because of his commitment to keep America safe. Today’s Supreme Court ruling on his travel ban is a vindication of the president, his administration and the will of the American people,” said Steve Bannon, a key architect of the original travel ban that sparked chaos at airports and was panned by critics as a glorified “Muslim ban.”

The victory was also seen as validation for Senate Majority Leader Mitch McConnell’s decision to break with precedent and refuse to hold hearings to confirm President Barack Obama’s Supreme Court choice in 2016. That left the seat open for Trump[11]’s pick, Neil Gorsuch, who provided the margin of victory on Tuesday.

The ruling comes days after Trump[12] succumbed to tremendous political pressure and issued an executive order ending the practice of separating migrant children from their parents when families cross...

Read more from our friends at the Washington Times