The veteran CNN anchor Jim Clancy has left the network after a series of Twitter messages he wrote about the terrorist attack on the French satirical newspaper Charlie Hebdo that left 12 people dead.

In the tweets, which were sent on the day of the attack, Mr. Clancy wrote about the cartoons the paper had published depicting the Prophet Muhammad, but he then began criticizing supporters of Israel and sparring with other Twitter users. Mr. Clancy’s Twitter account has since been deleted, but the tweets were published on several websites, including Gawker, Twitchy and Mediaite.

CNN confirmed on Saturday that Mr. Clancy had left the network but declined to comment on whether his departure was related to the Twitter messages. Mr. Clancy declined to comment.

On Jan. 7, Mr. Clancy posted a message about cartoons Charlie Hebdo published before the massacre at its Paris office. “The cartoons NEVER mocked the Prophet,” he said. “They mocked how the COWARDS tried to distort his word.” The message was retweeted more than 600 times.