Hundreds of demonstrators gathered Wednesday in New York City, Washington D.C. and San Francisco to protest of President Donald Trump's ban on transgender service members in the military.

The protests came just hours after Trump announced the ban on Twitter.

"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," tweeted the president, who said on the campaign trail that he supported the rights of LGBTQ Americans. "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."

The president did not specify what the ban would mean for currently serving transgender soldiers.

Below, a round-up of the protests across the country.

NEW YORK CITY

Hundreds of protesters, many carrying signs that read "Resist!" descended upon the U.S. Armed Forces recruiting station in Times Square to denounce the ban.

Protestors gather in Times Square, Wednesday, July 26, 2017, in New York. President Donald Trump declared a ban Wednesday on transgender troops serving anywhere in the U.S. military, catching the Pentagon flat-footed and unable to explain what it cal (The Associated Press) More

Demonstrator Yael Leberman told The Associated Press that transgender people "are completely adequate to serve" and combat is "not about physical, it's about mental" abilities.

LIVE: Protesters gather in Times Square to rally against the ban on transgender people in the military. https://t.co/3AM6xwvDsy pic.twitter.com/ZIRs6zbuBX — Eyewitness News (@ABC7NY) July 26, 2017

SAN FRANCISCO

Protesters assembled in at least two locations in San Francisco Wednesday evening to speak out against the ban.

Several hundred protesters gathered at the city’s Harvey Milk Plaza -- named after the gay rights icon and the country’s first openly gay elected official -- and urged those in attendance to “stand up” and “fight back."

PHOTO: Protesters listen to speakers at a demonstration against a proposed ban of transgendered people in the military in the Castro District, Wednesday, July 26, 2017, in San Francisco. (AP) More

Some demonstrators waved pink and blue flags, while others held signs that read "trans lives are not a burden" and "Resist."

PHOTO: Nick Rondoletto, left, and Doug Thorogood, a couple from San Francisco, wave a rainbow flag and hold a sign against a proposed ban of transgendered people in the military at a protest in the Castro District. (AP) More

LOS ANGELES

Protesters, including transgender veterans, gathered at the Los Angeles LGBT Center in Hollywood. Some carried signs that read "Proud Trans Vet" and "LGBT Solidarity."

"There are people who are retiring in the military, there are people who've done 18, 19 years and are about to retire and now it's all taken away from them," five-year military veteran Rudy Akbarian, 27, told The Associated Press. "It's not fair."

The ACLU of Southern California says it will sue the Trump administration to stop the ban if it actually becomes policy.

"Everyone is heartbroken!" Transgender vets speak at @LALGBTCenter after @realDonaldTrump tweets they should be banned from the military. pic.twitter.com/ySIJsy02kU — Elex Michaelson (@abc7elex) July 27, 2017

.@ACLU_SoCal says if @realDonaldTrump turns his tweets about transgender people into actual policy, they'll sue to stop it. pic.twitter.com/mQHzoLHcfC — Elex Michaelson (@abc7elex) July 27, 2017

WASHINGTON, D.C.

More than a hundred people gathered at the White House, including some transgender service members and veterans who said they were "shocked and angry” when they first heard about the ban.

"I was actually really shocked and angry, I don’t know how he came to that conclusion so fast,” Kara Zajac, a transgender woman and a navy veteran, told ABC affiliate WJLA.

“The previous administration came up with a sensible plan for allowing transgender people to openly serve and that plan needs to be openly respected,” Raffi Freedman-Gurspan, Director of External Relations for the National Center for Transgender Equality, told the crowd.