By Sandra Rose  | 

The Washington Post via Getty Images

Former President Donald Trump lost a breach of contract lawsuit against Omarosa Manigault Newman and was ordered to pay $1.3 million in legal fees.

Omarosa, who was fired in 2018 as the White House Director of communications, wrote a tell-all book about her experience working in the White House.

In her book titled "Unhinged: An Insider's Account of the Trump White House," Omarosa called her former boss a "racist, a bigot, and a misogynist".

Trump filed a lawsuit against Omarosa for violating the terms of her non-disclosure agreement.

However, an arbitrator ruled against Trump, saying the wording of the NDA was "highly problematic," and Omarosa was incapable of understanding when she was in breach of contract.

Frazer Harrison/Getty Images

Additionally, the arbitrator said Omarosa signed a NDA while she worked on Trump's presidential campaign. But she did not sign one when she worked in the White House.

The Arbitrator ordered Trump to pay Omarosa $1.3 million to cover her legal fees.

After the ruling was announced, Omarosa, who says she is a first year law student, tweeted:

"First year law student vs. #45’s entire legal team. (David vs. Goliath)... Now pardon me as I get back to studying for my Contract Law final exam."