There was misery for Hillary Clinton's band of Hollywood megafans as Donald Trump emerged victorious.
Many of them, including Lena Dunham, Miley Cyrus and Amy Schumer, have said they will leave the United States if Trump was elected.
Canada took to Twitter to welcome them, writing that immigrants are "encouraged to bring their cultural traditions with them and share them with their fellow citizens".
In Canada, immigrants are encouraged to bring their cultural traditions with them and share them with their fellow citizens. pic.twitter.com/MOuStZbSX7— Canada (@Canada) November 9, 2016
And the country's immigration website kept crashing as a Trump victory looked imminent and thousands went online seeking a way out of the country.
Let's all pray for love and light.— Bindi Irwin (@BindiIrwin) November 9, 2016
Now more than ever.
Anyone else wanna puke?— Kristen Bell (@IMKristenBell) November 9, 2016
It came as Clinton superfan Katy Perry revealed her parents voted for Trump, and her Hollywood pals began to panic on Twitter that the election results weren't going the Democratic nominee's way.
But Dunham posted a video on Instagram at around 11pm, in which she and Lady Gaga told their followers: "We still believe."
THE REVOLUTION IS COMING.— KATY PERRY (@katyperry) November 9, 2016
I am just absolutely beside myself right now. I can't believe the way this thing has turned. Trying to remain hopeful but geeez louise.— Mandy Moore (@TheMandyMoore) November 9, 2016
i'm genuinely very terrified for all females, lgbtq+, and immigrants. the fact that most of us don't feel safe anymore is beyond alarming.— Paris Jacksoη (@ParisJackson) November 9, 2016
In an interview with DailyMail.com, singer Cher said: "I feel like there's a death in my family."
She added: "I saw this happen with Brexit. I was in London watching Brexit, and I saw it happen. And I kept trying to tell people, this is like Brexit. Trump is Brexit. And it's just the strangest thing.
"I've been alive for 12, 11 presidents, and I've never seen anything like him, and I understand why the world is terrified that he's now going to be the President of the United States."
Other celebrities took to social media to speak of their dismay as the election results began to swing away from Clinton's favour.
"What is happening?????!!!!!" wrote Eva Longoria on Snapchat.
"i'm freaking out too but, together, we are gonna be OK, we got each other, animals, don't lose your s***. Worst case, let's all move to New Zealand," wrote Kesha alongside a selfie on Instagram, before editing her post.
"This is an embarrassing night for America. We've let a hatemonger lead our great nation. We've let a bully set our course. I'm devastated," wrote Captain America star Chris Evans.
The Big Bang Theory actor Kunal Nayyar added: "Never in 15 years of living In this country have I ever felt afraid to look like I do. #immigrant."
5 steps forward. 10 steps back.— Trevor Noah (@Trevornoah) November 9, 2016
Earlier in the evening, Perry addressed the audience at Clinton's election night party at the Jacob K. Javits Convention Center in New York City.
She pleaded with voters in states that had not closed their ballot boxes to rush out and vote for Clinton as the results went south for the White House hopeful.
"First and foremost, if you are in a state, and you're watching this and your polls are still open, you must vote for Hillary Clinton tonight!" she begged.
Perry said that her Republican parents voted for Trump.
Her parents Keith Hudson and Mary Perry are born-again Christians and the singer has previously spoken of her strict upbringing.
"But you know what, we will still all be sitting at the same table for Thanksgiving," she added.
"And this is the moment we need to remember that we all love our parents, and we all love our children."
Celebrities who pledged to leave the USA if Trump won
The Girls star said she'd move to Canada if Trump won the presidency.
"I love Canada. I think that it's a great place, and there's an area in Vancouver that I find beautiful and appealing, and I can conduct business from there," she said.
Streisand suggested she would move to Australia or Canada if Trump emerged the victor on Election Day.
"I can't believe it. I'm either coming to your country if you'll let me in, or Canada," the singer told 60 Minutes in August.
Comedian and actress Amy Schumer said she would head for Spain if Trump won.
"My act will change because I will need to learn to speak Spanish because I will move to Spain or somewhere," she told BBC's Newsnight.
"It's beyond my comprehension if Trump won. It's just too crazy."
SAMUEL L. JACKSON
"If that motherf***** becomes president, I'm moving my black a** to South Africa," the actor said on Jimmy Kimmel Live.
The talk show host revealed she had already bought a house in another country in case Trump won. "I did buy a house in another country just in case," Handler said in an interview on ABC's Live Kelly in May.
"So all these people that threaten to leave the country and then don't - I actually will leave that country."
The Breaking Bad actor said he would "definitely" move if Trump won, suggesting a permanent holiday to Vancouver.
"I would definitely move. It's not real to me that that would happen. I hope to God it won't," Cranston said in October.
Stewart told People magazine that he would think about "getting in a rocket and going to another planet because clearly this planet's gone bonkers".
Singer Cher has a similar idea. "If he were to be elected, I'm moving to Jupiter," she said on Twitter last year.
REV AL SHARPTON
The civil rights activist told the audience at a Centre for American Progress event in February that he would be looking for flights if Trump won.
"I'm also reserving my ticket to get out of here if he wins. Only because he'd probably have me deported anyhow," Sharpton said.
The singer called Trump a "f****** nightmare" and pledged to leave the US if he won in a couple of Instagram posts.