President Trump touched off a firestorm Wednesday after tweeting that he wants to ban transgender people from serving in the U.S. military in any capacity — citing advice from his “generals” and medical costs.

In a series of tweets, he wrote:

“After consultation with my Generals and military experts, please be advised that the United States Government will not accept or allow…Transgender individuals to serve in any capacity in the U.S. Military. Our military must be focused on decisive and overwhelming..victory and cannot be burdened with the tremendous medical costs and disruption that transgender in the military would entail. Thank you.”