Bill O'Reilly interviews President Donald Trump before last year's Super Bowl.

Fox News has decided to part ways with star host Bill O’Reilly following allegations of sexual harassment, its parent company 21st Century Fox said Wednesday.

“After a thorough and careful review of the allegations, the Company and Bill O’Reilly have agreed that Bill O’Reilly will not be returning to the Fox News Channel,” the company said in a statement.

O’Reilly said in an April 1 statement that he had been unfairly targeted because of his public prominence. Marc Kasowitz, O’Reilly’s lawyer, said in a statement on Tuesday that the television host “has been subjected to a brutal campaign of character assassination that is unprecedented in post-McCarthyist America.”

It is not known exactly how Fox News will handle O’Reilly’s exit or whether he would be allowed to say goodbye to viewers on the air, according to the New York magazine report.