It’s rare that you lose your job, only to eventually get it back.

James Gunn took to Twitter following the news that Disney rehired him to direct Guardians of the Galaxy Vol. 3, sharing an emotional message with his fans.

Gunn was fired last summer for jokes he made on Twitter years prior to becoming the face of the “Guardians” franchise — he had made jokes involving sexual abuse and children. Gunn also made highly politicized comments on his social media — it was conservative social media users who brought Gunn’s insensitive tweets to light.

Gunn earlier apologized for the tweets, which he called “unfortunate efforts to be provocative.”

During the months Gunn spent away from the sequel, he signed on to write the Suicide Squad 2 film for DC. He will stay on with the DC movie, too, with Deadline reporting that Marvel has agreed to let Gunn begin work on Guardians after he finishes Suicide Squad 2.

Overall, this is a great win for Gunn, as he gets to continue working on the franchise he loves and gets to still try his hand in reinventing the DC brand.