GOP presidential hopeful Donald Trump has reignited his war of words with Fox News, vowing via Twitter that he will stay off the network’s air for the “foreseeable future.” Fox News responded that Trump’s message was sent after the network decided to cancel his appearance on “The O’Reilly Factor” that had been scheduled for Thursday.

Trump declared in a tweet Wednesday morning that he believes he has been treated “very unfairly” by Fox, leading to him to decide “I won’t be doing any more Fox shows for the foreseeable future.” The decision to pull Trump’s appearance on “O’Reilly Factor” came after Trump criticized O’Reilly and Fox News anchor Megyn Kelly in tweets sent on Monday and Tuesday.

In a statement, Fox News said: “At 11:45 a.m. (ET) today, we canceled Donald Trump’s scheduled appearance on ‘The O’Reilly Factor’ on Thursday, which resulted in Mr. Trump’s subsequent tweet about his ‘boycott’ of Fox News. The press predictably jumped to cover his tweet, creating yet another distraction from any real issues that Mr. Trump might be questioned about. When coverage doesn’t go his way, he engages in personal attacks on our anchors and hosts, which has grown stale and tiresome. He doesn’t seem to grasp that candidates telling journalists what to ask is not how the media works in this country.”

Trump did not specify what he deemed to be unfair in Fox’s coverage of his presidential campaign. In a tweet sent about 20 minutes after his missive aimed at Fox, Trump thanked Stephen Colbert of CBS’ “Late Show” for having him on Tuesday’s show. Colbert’s interview of the GOP frontrunner was tough at times as he poked fun at some of Trump’s recent statements.

Trump has had a contentious relationship with Fox News since launching his presidential bid in June.