In March of this year, Danny Masterson, who was perhaps best known for his role in That 70s Show, was accused of rape.

Despite these allegations. which date back to the early 2000s, Masterson was allowed to keep his role on Netflix's The Ranch.

However, due to a recent petition campaigning for Masterson's dismissal, bosses at The Ranch have dismissed the actor.

The petition, which amassed almost 40,000 signatures, drew attention to Netflix's decision to suspend Kevin Spacey from House of Cards, but retain Masterson on The Ranch.

Releasing a statement earlier today, a spokesperson for Netflix said: "As a result of ongoing discussions, Netflix and the producers have written Danny Masterson out of ‘The Ranch."

"Yesterday was his last day on the show, and production will resume in early 2018 without him.”

Masterson responded to the dismissal in a lengthy statement, beginning"I am obviously very disappointed in Netflix’s decision to write my character off of The Ranch."

"From day one, I have denied the outrageous allegations against me. Law enforcement investigated these claims more than 15 years ago and determined them to be without merit. I have never been charged with a crime, let alone convicted of one."

"In this country, you are presumed innocent until proven guilty. However, in the current climate, it seems as if you are presumed guilty the moment you are accused," he continued.

"I understand and look forward to clearing my name once and for all. In the meantime, I want to express my gratitude to the cast and crew that I’ve worked so closely with over the past three seasons. I wish them nothing but success. I am also so thankful to the fans that have supported me and continue to do so."

Danny is married to actress and model Bijou Phillips.