Former First Lady Michelle Obama criticized women who cast ballots for President Donald Trump last year while addressing a crowd gathered Wednesday in Boston.

>> Read more trending news

"Any woman who voted against Hillary Clinton voted against their own voice," Obama said, Boston.com reported.

Obama's comment came during a wide-ranging question-and-answer session with feminist author Roxane Gray during the Inbound marketing conference, according to The Associated Press.

Still, she said that she and her husband, former President Barack Obama, support the president and wish for his success.

She compared her and her family’s time in the White House to “being shot out of a cannon … with a blindfold and the spotlight on you,” although she said the experience made her stronger.

"Each blow, each negative comment just made me stronger," she said, according to The Washington Post.

She told the crowd that she is working on a book focused on "believing in our most authentic selves," the AP reported. She said it would include stories about her childhood.

Michelle Obama On Barack: 'For Eight Years He Wore The Same Tux, Same Shoes'