The United States Supreme Court has allowed President Donald Trump’s transgender military ban to go into effect on Tuesday.

The decision deals a huge blow to LGBT activists who call the ban cruel and irrational. The court voted 5-4 to grant a Trump administration request to lift injunctions blocking the policy while challenges continue in lower courts. The four liberal judges on the court opposed the ruling.

The president announced on Twitter in 2017 that the country would no longer “accept or allow” transgender Americans to serve in the military, citing “tremendous medical costs and disruption”.