Former Democratic presidential candidate Hillary Rodham Clinton encouraged students not to give up their sense of civic spirit during a speech at Yale University’s Class Day on Sunday.

She spoke frankly to the students during the event, which is part of the university’s commencement festivities, about graduating at one of the most turbulent times in the country’s political history, telling them to stay devoted to defending democracy.

Clinton did not shy away from the politic drama that has followed her since the 2016 election. She started her speech talking about the Yale tradition for graduates to wear over-the-top hats on Class Day, pulling out her own hat and saying, “I brought a hat too. A Russian hat. I mean, if you can’t beat ’em, join ’em,” to laughter from the crowd.

She spoke about the importance of resilience as the graduates move on to the real world.

“Everyone gets knocked down,” she said. “What matters is whether you get back up and keep going. You will make mistakes in life, you will even fail. It happens to all of us, no matter how qualified or capable we are. Take it from me.”

She also addressed the polarization of American politics and reminded students that empathy and politics can go hand in hand, saying she believes radical empathy is what it will take to overcome the divisive undertones plaguing the nation.

“The radicalization of American politics hasn’t been symmetrical,” Clinton said. “There are leaders who blatantly incite people with hateful rhetoric.”

She reminded the Yale students that change starts with them, congratulating them for already having demonstrated character, courage and resilience during a divided time for the country.

Imploring the graduates to vote, and even to subscribe to a newspaper or two, she said she believed keeping democracy healthy depended on standing up for reason and facts.

“We need to lean on each other,” she said, and “look for the good wherever we can,” telling the graduates she saw in them the skills needed to bring about change.

Clinton, who graduated from Yale Law School in 1973, has achieved many milestones for women in the public service sector. She became the only first lady to be elected to the U.S. Senate, as well as the first woman to be elected to statewide office in New York in 2000. After failing to capture the Democratic nomination for president in 2008 presidential election, she went on to become the first woman of a major U.S. political party to be nominated for president in 2016.

Though Clinton lost the presidential race, she won the popular vote, securing almost three million votes.

She is the fourth member of the Obama administration to speak at Yale’s Senior Class Day, following in the footsteps of former Vice President Joe Biden, former Secretary of State John Kerry and former United Nations Ambassador Samantha Power. She met her husband, former President Bill Clinton, while studying at Yale.

Clinton also gave the Yale class day speech in 2001.

You can watch Clinton’s full remarks from Sunday’s speech here:

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Contact us at letters@time.com.