J.K. Rowling has offered up some sage words of advice to all the young women who are frustrated with Hillary Clinton’s election defeat.

While the U.S. did not elect its first female president this week, the Harry Potter author sought to reassure Americans that a woman would one day definitely take office in the White House.

Harry Potter author @JK_Rowling has a message for young women after Hillary Clinton's defeat pic.twitter.com/xJS0RQNHDT — Variety (@Variety) November 11, 2016

“We have a female prime minister in the U.K. and we have Angela Merkel in Germany,” she told Variety magazine on the red carpet of the world premiere of the Harry Potter prequel movie “Fantastic Beasts And Where To Find Them” in New York on Thursday.

“It will happen here, it will happen here,” Rowling said. “And let’s not forget, most people did vote for Hillary, so, hang on in there girls.”

Rowling was a fierce critic of President-elect Donald Trump throughout his campaign, at one point even labeling him worse than her most evil character ― Voldemort.

On election night, she also urged people to keep fighting racism, sexism and hate speech to ensure that they never become “normalized.”

We stand together. We stick up for the vulnerable. We challenge bigots. We don't let hate speech become normalised. We hold the line. https://t.co/ro9AkRSc9Q — J.K. Rowling (@jk_rowling) November 9, 2016