Slightly less than half of Americans support allowing transgender people to serve openly in the military and oppose President Trump Donald John TrumpBubba Wallace to be driver of Michael Jordan, Denny Hamlin NASCAR team Graham: GOP will confirm Trump's Supreme Court nominee before the election Southwest Airlines, unions call for six-month extension of government aid MORE’s recent order to ban those individuals from the armed forces, a poll released Wednesday found.

A poll from The Economist and YouGov, conducted March 25-27, found 49 percent of Americans strongly or somewhat favor allowing transgender people to serve, compared to 34 percent who strongly or somewhat oppose the idea.

The poll was conducted days after the White House issued a memo stating that transgender people are “disqualified from military service except under limited circumstances.”

ADVERTISEMENT

Wednesday’s poll found 48 percent of people somewhat or strongly disapprove of the ban, while 34 percent approve of it to some degree.

Forty-five percent of people said they don’t believe allowing transgender people to serve has made much of a difference in the military’s effectiveness.

The poll has a margin of error of 3.4 percentage points.

Last week's memo was not Trump's first attempt at banning transgender people from serving. He first called for a ban on transgender troops in a series of tweets last summer, and followed up in August by issuing a memo banning transgender people from enlisting.

The White House said Defense Secretary James Mattis James Norman MattisBiden courts veterans amid fallout from Trump military controversies Trump says he wanted to take out Syria's Assad but Mattis opposed it Gary Cohn: 'I haven't made up my mind' on vote for president in November MORE will have some leeway in implementing the policy, as will Homeland Security Secretary Kirstjen Nielsen Kirstjen Michele NielsenDHS IG won't investigate after watchdog said Wolf, Cuccinelli appointments violated law Appeals court sides with Trump over drawdown of immigrant protections Democrats smell blood with new DHS whistleblower complaint MORE when it comes to the Coast Guard. The ban is something Mattis "concluded should be adopted," it notes.

The decision was condemned by LGBTQ advocacy groups and several retired military officers.