The Supreme Court on Thursday granted a request by the Trump administration to send eight men who have spent more than a month imprisoned on a U.S. military base in Djibouti to war-ravaged South Sudan.

Justices Sonia Sotomayor and Ketanji Brown Jackson dissented.

By a 7-2 vote, the justices lifted an order from U.S. District Judge Brian Murphy that had blocked the men’s expulsion to South Sudan. Murphy intervened despite a Supreme Court ruling last month that put a hold on a prior nationwide injunction he issued requiring the administration to give deportees advance notice of their destination and a “meaningful” chance to object if they believed they’d be in danger of harm.