Aaron Sorkin may not be a politician but he knows plenty about being a president.

After Donald Trump's shocking win in the race to the White House yesterday, Sorkin, like many, was in a state of shock and disbelief and struggled to find the right words to explain it all. Thankfully Sorkin found his words and used them to write an open letter to his 15-year-old daughter Roxy and her mother Julia, which has been published on Vanity Fair.

"Well the world changed late last night in a way I couldn’t protect us from. That’s a terrible feeling for a father. I won’t sugarcoat it—this is truly horrible," he wrote.

"It’s hardly the first time my candidate didn’t win (in fact it’s the sixth time) but it is the first time that a thoroughly incompetent pig with dangerous ideas, a serious psychiatric disorder, no knowledge of the world and no curiosity to learn has."

Yeah, he really didn't pull any punches.

"And it wasn’t just Donald Trump who won last night — it was his supporters too. The Klan won last night. White nationalists. Sexists, racists and buffoons. Angry young white men who think rap music and Cinco de Mayo are a threat to their way of life (or are the reason for their way of life) have been given cause to celebrate," Sorkin continued.

"Men who have no right to call themselves that and who think that women who aspire to more than looking hot are shrill, ugly, and otherwise worthy of our scorn rather than our admiration struck a blow for misogynistic shitheads everywhere."

And while Trump may have won, Sorkin reminds his daughter and everyone "... that we’re not alone. A hundred million people in America and a billion more around the world feel exactly the same way we do" and says that "…we’ll fucking fight."

"The battle isn’t over, it’s just begun. Grandpa fought in World War II and when he came home this country handed him an opportunity to make a great life for his family. I will not hand his granddaughter a country shaped by hateful and stupid men. Your tears last night woke me up, and I’ll never go to sleep on you again."

You can read the letter in full on Vanity Fair.