Several Democratic lawmakers replaced the POW/MIA flags outside their Capitol Hill offices with transgender equality flags to protest President Trump’s new policy on transgender troops.

The National Center for Transgender Equality sent flags to all members of Congress, including Republicans, to commemorate “Trans Visibility Week,” Fox News reports .

Democratic presidential candidate Sen. Bernie Sanders, I-Vt., tweeted a photo of the door to his congressional office with the transgender equality flag standing in place of the usual black-and-white flag honoring prisoners of war and Americans missing in action.

“Discrimination has no place in our society,” Sanders tweeted. “I am proud to display this flag as a symbol of my support for transgender people across the country. We must stand with transgender people in all of our communities.”

Discrimination has no place in our society. I am proud to display this flag as a symbol of my support for transgender people across the country. We must stand with transgender people in all of our communities. pic.twitter.com/W6Esa16vzP — Bernie Sanders (@SenSanders) March 26, 2019

Although some lawmakers replaced the POW/MIA flag with the transgender equality flag, others chose to display both, including House Intelligence Committee Chairman Adam Schiff, D-Calif., whom GOP lawmakers have called on to resign, citing his bias in the Russia investigation.

Earlier this month, the Department of Defense made its first move toward implementing a ban on the enlistment of people who are taking hormones or transitioning or have transitioned to a different gender. According to the policy, which was signed by acting deputy defense secretary David Norquist, most of those wishing to serve in the military must do so in the gender in which they were born.

On Thursday, the House voted 238-185 on a nonbinding resolution to oppose the policy, which will go into effect next month.

House Speaker Nancy Pelosi, D-Calif., who also replaced her office's POW/MIA flag, said on the floor in supporting the resolution that “there is no moral justification for this ban, which violates every value of our American democracy.”

[Opinion: Trump's military transgender ban is more reasonable than you think]