A Texas resident gave an impassioned speech against an anti-trans bill during a Texas Senate committee hearing, asking legislators if they’re tired of being on the wrong side of history.

“If we were sitting here like 50 years ago, maybe 60 years ago, instead of talking about trans women going into bathrooms, you’d be talking about Black women going into white bathrooms,” Nick Mollberg said at the May 15 committee hearing. “Do y’all ever get tired of being on the wrong side of history? Opposed to women’s suffrage, as you were, conservatives, throughout history? Opposed to interracial marriage, opposed to civil rights.”

Mollberg was speaking in opposition to Texas House Bill 229, which gives general definitions for only two sexes, male and female, excluding intersex and trans people. The bill states that “only females” can get pregnant, as well as “males are, on average, bigger, stronger, and faster than females.”

Mollberg asked the state senators what their grandkids would say to them in the future.

“They’re going to look at you the same way the grandchildren of segregationists looked at their bigoted grandparents,” he said.