Dallas journalist Kurt Eichenwald said he's taking a break from Twitter after an online troll intentionally sent him a seizure-inducing tweet.

Eichenwald, who writes for Newsweek and serves as a senior editor for Vanity Fair, said he received a tweet from someone who knows he suffers from epilepsy.

The tweet included a strobe video and a message that said, "you deserve a seizure."

Last night, for the second time, a deplorable aware I have epilepsy tweeted a strobe at me with the message "you deserve a seizure' on it... — Kurt Eichenwald (@kurteichenwald) December 16, 2016

He said the flashing video triggered an epileptic episode.

Eichenwald said he's disgusted by the online harassment and is taking legal action. He plans to subpoena Twitter to identify the individual while police work to determine if it's a federal crime.

"Online anonymity does not protect criminals," he said.

The harassing tweet came after Eichenwald went on the Fox News show Tucker Carlson Tonight and had a rambling debate with the host over each other's credibility as a journalist and Eichenwald's statements on Trump.

Eichenwald said in a tweet he posted after the show that viewers were "going after" his kids because of the debate.

The next day, he said, he received the tweet that caused him to have a seizure.

Eichenwald said this isn't the first time this has happened. In October, he said a Donald Trump supporter "assaulted" him with an epileptogenic tweet after he wrote an article that was critical of Trump.