The U.S. Supreme Court on Monday delivered a watershed victory for LGBT rights and a defeat for President Donald Trump’s administration by ruling that a longstanding federal law barring workplace discrimination protects gay and transgender employees. The landmark 6-3 ruling represented the biggest moment for LGBT rights in the United States since the Supreme Court legalized same-sex marriage nationwide in 2015. Two conservative justices joined the court’s four liberals in the decision: Neil Gorsuch, a 2017 Trump appointee who wrote the ruling, and Chief Justice John Roberts. The justices decided that gay and transgender people are protected under Title VII of the Civil Rights Act of 1964, which bars employers from discriminating against employees on the basis of sex as well as race, color, national origin and religion.