Caitlyn Jenner and Laverne Cox are among the many celebrities and politicians speaking out against President Donald Trump's ban against transgender people serving in the U.S. military 'in any capacity.'

Trump sent out a series of tweets Wednesday morning, injecting a contentious social issue into the debate on a day after the Senate GOP's health care bill suffered a bad defeat and when a Senate panel was set to hold a public hearing that would touch on Russian foreign nationals' influence efforts.

'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,' Trump wrote.

'Thank you,' he concluded.

Jenner, a Republican who supported Trump during the 2016 election, took to Twitter and wrote: 'There are 15,000 patriotic transgender Americans in the US military fighting for all of us. What happened to your promise to fight for them?'

Scroll down for video

Caitlyn Jenner and Laverne Cox are speaking out against President Donald Trump's (above on Tuesday) ban against transgender people serving in the U.S. military 'in any capacity.'

President Donald Trump tweeted about a new U.S. military policy on transgender individuals Wednesday morning

The 67-year-old who came out as a transgender woman two years ago said earlier this month that she was working behind the scenes with members of Trump's administration on LGBTQ rights.

Not long after Trump made the shocking announcement, social media users reacted and began questioning the former Olympian's decision to support Trump during the election.

Cox, who is one of the stars on Netflix series Orange is the New Black, also took to Twitter to voice her anger against the ban.

'My fellow trans Americans despite what some may say your existence is valuable. Your lives, safety, & service matter. #TransIsBeautiful,' she wrote.

Jenner, a Republican who supported Trump during the 2016 election, took to Twitter and wrote: 'There are 15,000 patriotic transgender Americans in the US military fighting for all of us. What happened to your promise to fight for them?'

The 67-year-old former Olympian, who came out as a transgender woman two years ago, said earlier this month that she was working behind the scenes with members of Trump's administration on LGBTQ rights

Cox, who is one of the stars on Netflix series Orange is the New Black, also took to Twitter to voice her anger against the ban

'To all the trans folks currently serving in the military thank you for your service. I am sorry your 'commander in chief' doesn't value it.

'Marginalized folks have often found ourselves at odds with systems which seek to subjugate & erase us. Let us love each other more & fight'.

Cox later issued a statement about Trump's new policy, as it also addressed her personal experiences meeting transgender people who are currently serving the country in the military.

'I have met many transgender Americans over the years who have served or are currently serving our country in the military,' Cox wrote.

'I have heard from them humiliating stories of being misgendered and experiencing various kinds of mistreatment when they are willing to put their lives on the line in ways many of us would never do including our current President.

'This latest reversal of another Obama administration policy continues to send the message to trans Americans that our lives, our safety and service are less valuable and unwanted in this country, the country I love and hold so dear.

Cox, an Emmy award winning producer, wrote the above tweets in response to Trump's ban

Donald Trump holds a rainbow flag given to him by supporter Max Nowak during a campaign rally at the Bank of Colorado Arena on the campus of University of Northern Colorado October 30, 2016 in Greeley, Colorado

'Let's all come together and send the message to trans Americans that despite what this president and administration proclaims that trans lives, safety and service are valuable, that they matter.'

Director Judd Apatow also blasted Trump for the announcement in a series of retweets, but he tweeted directly at Jenner saying her support of the president is 'disgusting'.

'Your support of this man is disgusting. If you don't make a change it is all people will remember about you,' Apatow tweeted.

Sandra Bernhard had a similiar message for Jenner and tweeted: '@caitlyn_jenner wake up sweetheart give Your wonderful president a call & discuss #noTransgender in military congrats on a great choice!'

Star Trek actor George Takei was among the first to react to Trump's tweets on Wednesday.

'History shall record that you are not only the stupidest, most incompetent president ever, but also the cruelest and pettiest,' he tweeted minutes after the news broke.

Trump's tweet about transgender military service drew immediate responses online from Star Trek actor George Takei

Talk show host Ellen DeGeneres‏ sent two tweets against Trump's ban on Wedensday

Chelsea Clinton sent the above tweet in response to Wednesday's shocking announcement from Trump

Director Judd Apatow also blasted Trump for the announcement in a series of retweets, but he tweeted directly at Jenner saying her support of the president is 'disgusting'

Sandra Bernhard had a similiar message for Jenner and tweeted: '@caitlyn_jenner wake up sweetheart give Your wonderful president a call & discuss #noTransgender in military congrats on a great choice!'

He added: 'Invidious discrimination against any group must be opposed by all. Straight/Cis allies: Will you stand with LGBTs?'

Bravo star and producer Andy Cohen kept his response to Trump straight to the point.

'Are you TRYING to be an a**hole?' he asked on Twitter.

In responding to a Washington Post tweet linking to a story that analyzed Trump's stance on LGBT rights, Chelsea Clinton tweeted: 'No. President Trump has consistently failed to support LGBT equal rights, dignity & safety in the U.S. & around world (e.g. Chechnya/Russia)'.

Talk show host Ellen DeGeneres‏ tweeted: 'We should be grateful to the people who wish to serve, not turn our backs on them. Banning transgender people is hurtful, baseless and wrong'.

She added: 'We're spreading hate instead of love in our country today.'

Singer Katy Perry tweeted: 'ALL those who defend our right to live freely should be able to serve freely! There are THOUSANDS currently serving! #ProtectTransTroops'

Bravo star and producer Andy Cohen kept his response to Trump straight to the point and asked 'Are you TRYING to be an asshole?'

Trump's tweet about transgender military service drew immediate responses online

Author Stephen King sent the above tweet blasting Trump and his latest announcement

Singer Katy Perry also opposed the latest announcement from Trump and sent the above message

Jesse Tyler Ferguson wrote: 'Sending a message that hate & discrimination should be tolerated if it saves us money. A shameful yet unsurprising new low #EqualityForAll'

Singer Ariana Grande simply tweeted: '#transrightsarehumanrights'

Janey Mock also took to Twitter and wrote: 'Trolling at its finest from a man who's never served and shown up the way trans service folk have and are.

'There are many ways to serve our communities/countries.

'Trans folk have done vital work, putting bodies on the line unlike Trump.'

Author Stephen King tweeted: 'In decreeing transgender people unfit to serve, Donald Trump continues to visit previously unxplored (sic) regions of the suck.'

Jesse Tyler Ferguson tweeted: 'Sending a message that hate & discrimination should be tolerated if it saves us money. A shameful yet unsurprising new low #EqualityForAll'.

Singer Demi Lovato tweeted: 'I just want to tell the transgender community that I love you and you ARE supported no matter what. #ProtectTransTroops'.

Comedian Mike Drucker also tweeted: 'Trump avoided the draft by claiming to have bone spurs, but later couldn't even remember which foot. Anyway, trans people are the problem.'

Former Vice President Joe Biden also voiced his opinion on Twitter and wrote: 'Every patriotic American who is qualified to serve in our military should be able to serve. Full stop.'

Actress Uzo Aduba agreed with Biden and simply tweeted 'correct'

Singer Sam Smith kept his message short and just repeated the hashtag '#ProtectTransTroops' in the tweet above

Transgender actress Candis Cayne also tweeted: 'As trans women and men We have never asked for anything other than to live our life as our authentic self this hate has to stop!'

Comedian Mike Drucker sent the above message on Twitter in response to Trump's ban

Actor Ike Barinholtz‏ tweeted: 'Every single trans person is braver than Donald Trump'.

Actress Zoe Kazan expressed her gratitude on Twitter for the current LBGTQ individuals serving in the armed forces.

'Certainly every person currently serving in our armed forces exemplifies these qualities. Thank you LGBT of the military, Air Force & Navy.', she tweeted.

Transgender actress Candis Cayne also tweeted: 'As trans women and men We have never asked for anything other than to live our life as our authentic self this hate has to stop!'

Singer Sam Smith kept his message short and just repeated the hashtag '#ProtectTransTroops' in a tweet.

Actress Busy Philips tweeted: 'Oh, just a reminder that this--NONE OF THIS IS NORMAL.'

Late actor and comedian Robin Williams' daughter, Zelda Williams, took to Twitter to express her outrage at Trump in several tweets.

Seth Rogan sent the above tweet in response to a message Ivanka Trump tweeted weeks ago

Singer Demi Lovato tweeted: 'I just want to tell the transgender community that I love you and you ARE supported no matter what. #ProtectTransTroops'

Late actor and comedian Robin Williams' daughter, Zelda Williams, took to Twitter to express her outrage at Trump in several tweets

She wrote the above tweet calling on Trump to thank transgender people for their service to the country and to let them to serve

She added that she wasn't going to tweet until after her father's death anniversary, but noted that he 'loved our soldiers & veterans more than anyone I'll likely ever meet'

Actress Busy Philipps sent the above tweet and said 'none of this is normal'

She wrote: 'Don't thank us for your harmful inanity (sic) when you're actually bowing to the hall of carnival mirrors that is your brain.

'Whatever he enacts, to watch the President publicly reduce soldiers, whatever their orientation, to financial burdens... disgraceful.

'I didn't plan on coming back here til after dad's anniversary, but he loved our soldiers & veterans more than anyone I'll likely ever meet.

'Dad spent many Christmases in Iraq entertaining our troops, even when he was at risk himself. They are humans Mr. President. Not bar tabs.

'So don't thank us for reading your inane tweets, or yourself for tweeting. Thank them for their service, Mr. President, & let them serve.'

Popular drag queen Sasha Velour spoke out against the new ban and tweeted: 'He is a liar who will continue to strip our community of our rights...and literally 'threatens our freedoms and beliefs' every day.'

Singer Ariana Grande simply tweeted: '#transrightsarehumanrights'.

Actor Billy Eichner voiced his opposition to Trump's ban and tweeted: 'I hope deep down Trump voters realize the increasing amount of psychological & perhaps even physical damage they've done to fellow Americans'.

Dustin Lance Black sent the above tweet from London in response to Trump's ban

The Late Late Show host James Corden sent the above tweet asking Ivanka Trump to call her father and discuss this new ban

Actress Zoe Kazan expressed her gratitude on Twitter for the current LBGTQ individuals serving in the armed forces

Popular drag queen Sasha Velour spoke out against the new ban and called Trump 'a liar'

Actor Ike Barinholtz‏ tweeted: 'Every single trans person is braver than Donald Trump'

Former Vice President Joe Biden also voiced his opinion on Twitter and wrote: 'Every patriotic American who is qualified to serve in our military should be able to serve. Full stop.'

Sen. Kamala Harris tweeted: 'This is discriminatory, and un-American. To the transgender servicemembers (sic) who defend our nation, I stand with you.'

In another tweet, she added: 'We should honor the courage of Americans who volunteer to sacrifice for our nation, not turn them away.'

In a statement, GLAAD slammed Trump's ban and called it a 'direct attack on transgender Americans.'

'His administration will stop at nothing to implement its anti-LGBTQ ideology within our government – even if it means denying some of our bravest Americans the right to serve and protect our nation,' Sarah Kate Ellis, President and CEO of GLAAD, said.

'Today further exposed President Trump's overall goal to erase LGBTQ Americans from this nation. Trump has never been a friend to LGBTQ Americans, and this action couldn't make that any more clear.'

Actor Billy Eichner voiced his opposition to Trump's ban and tweeted: 'I hope deep down Trump voters realize the increasing amount of psychological & perhaps even physical damage they've done to fellow Americans'

Actress Mia Farrow also took to Twitter and said Trump's ban 'must be challenged'

In another tweet, Harris added: 'We should honor the courage of Americans who volunteer to sacrifice for our nation, not turn them away.'

Trump's tweet about transgender military service drew immediate responses online from the ACLU

During the last year of the Obama administration, then Defense Secretary Ash Carter instituted a policy allowing transgender people to serve openly in the military, ending a prior ban. But he also gave the military a year to come up with a way to implement the policy.

A statement from the Pentagon indicated that the agency known to plan for all military contingencies didn't see the sudden turnaround from the president coming.

'Call the White House, said Navy Capt. Jeff Davis, a Pentagon spokesman.

'We refer all questions about the President's statements to the White House,' Davis said in a statement.

'We will continue to work closely with the White House to address the new guidance provided by the Commander-in-Chief on transgender individuals serving the military,' Davis added in the statement.

'We will provide revised guidance to the Department in the near future.'

Former Secretary of Defense Ashton Carter announced that the military will lift its ban on transgender troops during a press briefing at the Pentagon in Washington, DC, June 30, 2016 after conducting a policy review. 'This is the right thing to do for our people and for the force,' Carter said

Secretary of Defense Jim Mattis ordered a six month delay in a policy review on the military's transgender policy at the end of June

Since October, transgender troops have been able to get medical care to begin changing their gender identity, Military Times wrote.

There was a July deadline for branches to set up policies for transgender people trying to join.

Defense Secretary James Mattis at the end of June gave the chiefs of staff of the military branches an additional six months to determine how the policy affected the 'readiness or lethality' of U.S. forces.

Mattis wrote in his memo that the delay 'does not presuppose the outcome of the review' and that extra time would allow for 'the benefit of the views of the military leadership and of the senior civilian officials who are now arriving in the department.'

Trump's tweets left many questions unanswered, including whether they amounted to an immediate policy change, or whether the military command structure must implement in a drawn out fashion through official government channels and officially publish it before it takes effect.

It was not immediately clear how many transgender people came forward following the Obama administration's change of policy.