Former President ObamaBarack Hussein ObamaThe bully who pulls the levers of Trump's mind never learns US-China space cooperation is up in the air more than ever GOP infighting takes stupid to a whole new level MORE took to Twitter late Monday to wish the country a “Happy Pride month” after the Supreme Court ruled that gay and transgender people are protected against employment discrimination under existing civil rights laws.

“Today reminds us that progress might be slow. It might take decades. But no matter what things might look like today, it’s always possible. Happy Pride month, everybody,” Obama tweeted on Monday night.

The tweet also featured a photo captured by former White House photographer Pete Souza in 2015 showing rainbow colors cast over the White House after the Supreme Court ruling legalizing gay marriage.  

Hours before Obama’s tweet on Monday, the Supreme Court ruled that gay and transgender people are protected against employer discrimination under Title VII of the 1964 Civil Rights Act on the basis of sex.

"Today, we must decide whether an employer can fire someone simply for being homosexual or transgender," Justice Neil GorsuchNeil GorsuchWhat's that you smell in the Supreme Court? The Memo: Trump's justices look set to restrict abortion Five revealing quotes from Supreme Court abortion case  MORE wrote in the opinion. "The answer is clear. An employer who fires an individual for being homosexual or transgender fires that person for traits or actions it would not have questioned in members of a different sex."

"Sex plays a necessary and undisguisable role in the decision, exactly what Title VII forbids," he added.

The ruling was met with praise from LGBTQ rights groups and advocates, though Gorsuch got pushback from some conservatives for joining the more liberal justices and Chief Justice John Roberts in the decision.

President TrumpDonald TrumpGOP grapples with chaotic Senate primary in Pennsylvania ​​Trump social media startup receives commitment of billion from unidentified 'diverse group' of investors Iran thinks it has the upper hand in Vienna — here's why it doesn't MORE, whose administration argued the protections did not extend to gay and transgender workers, also remarked on the ruling Monday.

"I’ve read the decision, and some people were surprised. But they’ve ruled and we live with their decision," he said.