The policy, first announced by the President in July 2017 via Twitter, and later officially released by then-Secretary of Defense James Mattis, blocks individuals who have been diagnosed with a condition known as gender dysphoria from serving with limited exceptions. It also specifies that individuals without the condition can serve, but only if they do so according to the sex they were assigned at birth.