Transgender model Munroe Bergdorf made history earlier this week when it was announced that she would be the face of a L'Oréal UK campaign. But after attention was called to her Facebook post on racism following the events in Charlottesville, Va., the cosmetics corporation decided to let her go.

UK media outlet Daily Mail published Bergdorf's Facebook post in which the model said white people must "admit their race is the most violent and oppressive force of nature on Earth."

Munroe Bergdorf attends Absolut's #KissWithPride event at the Houses of Parliament in celebration of the 50th anniversary of The Sexual Offences Act Dave M. Benett / Getty Images

"Honestly I don't have energy to talk about the racial violence of white people any more. Yes ALL white people," Bergdorf wrote in the post. "Because most of ya'll don't even realise or refuse to acknowledge that your existence, privilege and success as a race is built on the backs, blood and death of people of colour. Your entire existence is drenched in racism. From micro-aggressions to terrorism, you guys built the blueprint for this s***."

The Morning Rundown Get a head start on the morning's top stories. This site is protected by recaptcha

Following backlash, L'Oréal removed a promotional video for Bergdorf's campaign, which focused on diversity, from its official YouTube page and tweeted out that it had ended its partnership with the model.

L’Oréal champions diversity. Comments by Munroe Bergdorf are at odds with our values and so we have decided to end our partnership with her. — L'Oréal Paris UK (@LOrealParisUK) September 1, 2017

In a statement emailed to NBC News, the company said Bergdorf's statements were at odds with its values.

"L’Oréal supports diversity and tolerance towards all people irrespective of their race, background, gender and religion," the statement read. "We believe that the recent comments by L’Oréal Paris UK Spokesperson Munroe Bergdorf are at odds with those values, and as such we have taken the decision to end the partnership with her."

Bergdorf has since spoken out about parting ways with the company, saying in a Facebook post that her words were taken out of context and that she was disappointed in L'Oréal's response.

"If L'Oreal truly wants to offer empowerment to underrepresented women, then they need to acknowledge THE REASON why these women are underrepresented within the industry in the first place," Bergdorf wrote. "This reason is discrimination - an action which punches down from a place of social privilege. We need to talk about why women of colour were and still are discriminated against within the industry, not just see them as a source of revenue."

In a separate Facebook post, Bergdorf urged people to boycott L'Oréal Paris.

Reaction on social media was mixed: While some tweeted in support of Bergdorf and included the hashtag #BoycottLoreal, others agreed with L'Oreal's handling of the situation.

Here's what Munroe Bergdorf said in full. Nothing to disagree with, and it's something we white people MUST think about pic.twitter.com/2AEnUpHdkp — Prosperity Poo-Pooer (@stavvers) September 1, 2017

>Loreal hires black trans model



>She writes racist anti-white rant



>Gets dropped by Loreal



>ppl are shocked?https://t.co/hRoCjbMfFE — マイル (@martian_munk) September 1, 2017

You just proved Munroe Bergdorf's point by cancelling her endorsement. Silencing us affirms the existence and power of white supremacy. — Kelechi Okafor (@kelechnekoff) September 1, 2017

Munroe Bergdorf has been very vocally anti-white for years now. I am glad this story came out. I have wanted to show these for a long time. pic.twitter.com/Yw5WGhrwj9 — Lucy Brown (@LUCY____BROWN) September 1, 2017

diversity? first trans woman of colour made history in a L'Oreal campaign dropped because she actually talked about racism #BoycottLoreal https://t.co/HiIGeHVVgk — hxnnxh (@haboslacker) September 1, 2017

Follow NBC Out on Twitter, Facebook and Instagram