Marvel has officially droppedJames Gunnas director oftheGuardians of the Galaxyfilmsafter old, offensive tweets were unearthed.

That’s why I laugh at people with AIDS."

A rep for Gunn, who directedGuardians of GalaxyandGuardians of the Galaxy Vol.

2, released a statement to EW after Disney announced its decision.

Even these many years later, I take full responsibility for the way I conducted myself then.

To everyone inside my industry and beyond, I again offer my deepest apologies.

Love to all."

Gunn also addressed the old remarks in a series of tweets posted online Thursday night.

My days saying something just because it’s shocking and trying to get a reaction are over."

He concluded: “I used to make a lot of offensive jokes.

I don’t anymore.

Love you to you all.”

3., which seems to be a major work for the Marvel Cinematic Universe.

Gunn hadteasedan appearance during a Sony Pictures panel at Comic-Con on Friday at 6:15 p.m. PT.

However, an insider close to the situation told EW that Gunn is not expected to attend the panel.

This article has been updated with a new statement from Gunn.