President Trump issued a memorandum on Friday banning most transgender troops from military service.

“Among other things, the policies set forth by the Secretary of Defense state that transgender persons with a history or diagnosis of gender dysphoria — individuals who the policies state may require substantial medical treatment, including medications and surgery — are disqualified from military service except under certain limited circumstances,” said the memo, which was filed in U.S. District Court in Seattle on Friday, according to Politico.