Democratic White House hopeful Cory Booker said Sunday night he would reverse President Donald Trump’s ban on transgender individuals serving in the military if elected president.

Speaking to a crowd of more than 300 voters in Davenport, the New Jersey senator answered a question posed by a woman who identified herself as transgender about what he would do to protect LGBTQ rights as president.

“When I am president of the United States, right away I will end this ridiculous, insulting, un-American ban on transgender Americans serving in the military,” he said to cheers from the crowd.

It was one of a handful of Trump Administration policies he pledged to undo if elected president, including Trump’s tax cuts and his revocation of protections from deportation for undocumented immigrants brought to the US as children.

Booker also weighed in on marijuana legalization, offering a more comprehensive vision for legalization that would include expunging criminal records and promoting access to the legal marijuana industry for women and people of color.

FOLLOW NBC OUT ON TWITTER, FACEBOOK & INSTAGRAM