Donald Trump adviser Michael Caputo resigned in a letter to Trump chief strategist Paul Manafort. | Getty Trump adviser resigns after celebrating Lewandowski firing Michael Caputo's run with Trump is over after his "the witch is dead" tweet.

Donald Trump adviser Michael Caputo is no longer part of the presumptive Republican presidential candidate's campaign after writing a celebratory tweet that former Trump campaign manager Corey Lewandowski was fired.

In response to news of Lewandowski's departure from the campaign Caputo, who runs communications for Trump's caucus team, sent out a tweet saying "Ding Dong the witch is dead."

Advertisement Ding dong the witch is dead! https://t.co/pSqQwmAGz1 pic.twitter.com/5dE7GMeEK6 — Michael Caputo (@MichaelRCaputo) June 20, 2016

Trump spokeswoman Hope Hicks confirmed that Caputo's ties had been severed Monday afternoon.

"He is no longer associated with the campaign," Hicks wrote in an email. She did not immediately respond to followup questions.

Caputo resigned in a letter to Trump chief strategist Paul Manafort.

"I regret sending out a tweet today alluding to the firing of Corey Lewandowski," the letter, first reported by CNN, read. "In hindsight, that was too exuberant a reaction to this personnel move. I know this is a distraction from the kind of campaign you want to run, so I'm resigning my position as director of communications for caucus operations at the 2016 Republican Convention. Let's make this immediate."

Caputo signaled that resigning was his only option.

"Unforced errors have no place on a general election campaign for the White House. It's my fourth American presidential; if you've been here before, you know falling on the sword is what you do if you mess up," Caputo told POLITICO.

Ken Vogel contributed to this report.