James Gunn is no longer directing the Guardians of the Galaxy Vol. 3, the third installment of the successful Marvel franchise starring Chris Pratt.

The news comes after controversial tweets by the filmmaker were resurfaced by conservative pundits and the website Daily Caller. Nearly a decade old, the tweets include crude jokes about pedophilia and rape.

“The offensive attitudes and statements discovered on James’ Twitter feed are indefensible and inconsistent with our studio’s values, and we have severed our business relationship with him,” said Walt Disney Studios chairman Alan Horn in a statement to ET.

[Entertainment Tonight]