On June 15, the U.S. Supreme Court issued a landmark decision that both employers and employees have been awaiting for years: Federal civil rights law protects gay, lesbian, and transgender workers from discrimination in the workplace.

The 6-3 opinion was written by Justice Neil Gorsuch, President Donald Trump’s first Supreme Court nominee. Justices John Roberts Jr., Ruth Bader Ginsburg, Stephen Breyer, Sonia Sotomayor and Elena Kagan joined in the majority opinion. Justices Samuel Alito and Brett Kavanaugh dissented, with Justice Clarence Thomas joining Alito’s dissent.