I don't begrudge you for not knowing this, it certainly wasn't something that I was taught in school... But LGBTQ people, and trans people specifically, were among the first groups targeted by the Nazis in Weimar Germany.
I am well aware that communists were pretty high up on that list as well, but maybe there's a reason why the LGBTQ stuff wasn't taught to us in school...
Go ahead and do some of your own research on it if you don't believe me.