An emotional Miley Cyrus teared up as she penned an in-person “thank you” note to Hillary ClintonHillary Diane Rodham ClintonTrump says he'll leave White House if Biden declared winner of Electoral College Federal workers stuck it out with Trump — now, we're ready to get back to work Biden soars as leader of the free world MORE on “The Tonight Show.”

Jimmy Fallon’s female writing staff read aloud letters to Clinton during a segment on Wednesday’s show, where the former Democratic presidential nominee appeared to promote her new book “What Happened.”

After the writers read a few wisecrack-infused messages to laughs from the crowd — "Thank you, Hillary, for for all the work you've done for public health care. Ever since the election, I've really depended on my government-subsidized anti-anxiety medication” — fellow “Tonight Show” guest Cyrus took to the stage.

ADVERTISEMENT

“Thank you, Hillary, for being a constant beacon of strength, hope, and determination for me and millions of other young women,” the “Malibu” singer said, her voice breaking.

“You’ve been a role model and an inspiration, and a voice of reason in uncertain times,” continued Cyrus, who hit the campaign trail for Clinton during the 2016 race.

“I could go on and on, but I’d like to get right to the point — can I give you a hug?” asked Cyrus.

After embracing, Clinton then reciprocated with a note of her own.

“Thank you Miley, the ‘Tonight Show’ writers, and all of the women and young girls out there,” Clinton said. “You are smart, strong, and deserving of every opportunity. Together, we’ve made our voices heard, we’ve done great things, and we’ve come a long way.”

“But as Miley would say,” Clinton said, quoting one of Cyrus’s singles, “we can’t stop and we won’t stop.”