A majority of Americans thinks that transgender people should be allowed to serve in the military, according to a Reuters poll released Friday.

The poll found that 58 percent of adults think transgender people should be able to serve in the armed forces, while 27 people said they shouldn’t.

It was conducted after President Trump on Wednesday tweeted that he decided transgender people should not be allowed to serve “in any capacity in the military," citing the “tremendous medical costs and disruptions” he believes having transgender people would cause for the armed forces.

ADVERTISEMENT

Seventeen percent said they thought banning transgender people from the military would “improve morale,” while 32 percent said it would hurt it. Thirty-three percent believe a possible ban would have “no impact” on the morale among the officers.

About a half of the Republicans surveyed said they think transgender people should not be able to serve in the military, with less than one-third saying they should.

And 42 percent said banning transgender people from the military would have “no impact” on military readiness, while 22 percent said it would hurt capability and 14 percent said it would help.

The survey sampled 1,249 adults between July 26–28 with the margin of error at 3 percentage points.