A U.S. association of physicians spoke out against President Trump’s ban on transgender individuals serving in the military, which he announced on Wednesday.

The American Medical Association said that transgender people should be allowed to serve in the military.

“There is no medically valid reason to exclude transgender individuals from military service,” association president David O. Barbe said in a statement. “Transgender individuals are serving their country with honor, and they should be allowed to continue doing so.”

President Trump tweeted that transgender people will not be able to serve in the military “in any capacity,” reversing a policy enacted last year under President Barack Obama that allowed them to serve openly. He cited “tremendous medical costs” for transgender service members as a burden on the U.S. military.

But a 2016 RAND Corporation study, commissioned by the Department of Defense, found that expanding medical coverage to include care for transgender service members would cost an average median of $5.4 million — a small amount considering that total active-component health-care spending adds up to $6 billion every year.

The financial cost of healthcare for transgender individuals “should not be used as an excuse to deny patriotic Americans an opportunity to serve their country,” Barbe said.

“We should be honoring their service — not trying to end it,” he said.

Get our Politics Newsletter. The headlines out of Washington never seem to slow. Subscribe to The D.C. Brief to make sense of what matters most. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Write to Mahita Gajanan at mahita.gajanan@time.com.