LOS ANGELES (CNN Money) – Jimmy Kimmel offered to put an end to a feud between him and FOX News host Sean Hannity. Kimmel took to Twitter on Sunday to apologize to those who he may have offended with his brash jabs at the conservative commentator during a week of verbal and social media sparring.

“While I admit I did have fun with our back and forth, after some thought, I realize that the level of vitriol from all sides (mine and me included) does nothing good for anyone and, in fact, is harmful to our country,” Kimmel tweeted.

READ MORE: Military Plane Crashes In Residential Area, 2 Pilots Injured, 3 Homes Hit

The jousting kicked off last week when Kimmel mocked first lady Melania Trump’s accent during a bit on his late night show. Hannity took offense and slammed Kimmel during his prime time FOX News show, calling Kimmel a “despicable disgrace” and an “ass clown.”

That prompted Kimmel to devote several minutes of his next program to firing back at Hannity. “If I’m an ass clown,” Kimmel said, “you are the whole ass circus.”

The spat continued to play out on Twitter. Hannity called Kimmel “Harvey Weinstein Jr.” and Kimmel also made sexually suggestive comments about Hannity’s devotion to President Donald Trump.

“Don’t worry – just keep tweeting – you’ll get back on top! (or does Trump prefer you on bottom?)” Kimmel wrote in one tweet directed at Hannity.

READ MORE: Swarm Of Bees Attacks Migrant Family That Crossed Rio Grande Into Texas 

Some of Kimmel’s barbs earned backlash. The Daily Beast published an opinion piece on Sunday saying that his comments were “homophobic.”

Kimmel offered a mea culpa in his tweet on Sunday. “By lampooning Sean Hannity’s deference to the President, I most certainly did not intend to belittle or upset members of the gay community and to those who took offense, I apologize,” he said.

“I will take Sean Hannity at his word that he was genuinely offended by what I believed and still believe to be a harmless and silly aside referencing our First Lady’s accent,” Kimmel continued. “I am hopeful that Sean Hannity will learn from this too and continue his newly-found advocacy for women, immigrants and First Ladies and that he will triumph in his heroic battle against sexual harassment and perversion.”

Shortly after Kimmel’s apology, Hannity teased a response on his own Twitter account. “Just had this pop up. I am at a tournament with my daughter. I’ll have a full and comprehensive response tomorrow on Hannity. 9 EST FOX,” he wrote.

MORE NEWS: Rowlett Restaurant Owner Explains No-Mask Policy After Asking Family To Leave

(© Copyright 2018 Cable News Network, Inc., a Time Warner Company. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)