It's official: Bill O’Reilly and Fox News will be parting ways, according to a statement from 21st Century Fox.

News of O’Reilly’s departure comes in the wake of a series of sexual harassment allegations.

In a statement, a spokesperson for 21st Century Fox, the parent company of Fox News, said, “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.”

In an email reportedly sent to 21st Century Fox employees, Rupert Murdoch, executive chairman of 21st Century Fox and his sons — Chairman Lachlan Murdoch and CEO James Murdoch — stated:

We'd like to address questions about Bill O'Rielly's future at Fox News. After a thorough and careful review of allegations against him, the Company and Bill O'Reilly have agreed that Mr. O'Reilly will not return to the Fox News Channel. This decision follows an extensive review done in collaboration with outside counsel. By ratings standards, Bill O'Reilly is on of the most accomplished TV personalities in the history of cable news. In fact, his success by any measure is indisputable. Fox News has demonstrated again and again the strength of its talent bench. We have full confidence that the network will continue to be a powerhouse in cable news. Lastly, and most importantly, we want to underscore our consistent commitment to fostering a work environment built on the values of trust and respect.

Following the announcement regarding O'Reilly's departure, the network released its new prime-time lineup: Fox News’ Tucker Carlson will take over the 8 p.m. hour starting Monday. This week, the Factor will continue to air with guest hosts.

Martha MacCallum will remain in the 7 p.m. hour, while The Five will be broadcast live at 9 p.m.

O'Reilly has denied the allegations of sexual harassment. According to the New York Times, Fox News reached settlements totaling $13 million with some of his accusers.

The now-former host of “The O’Reilly Factor” joined Fox News in 1996. The program was the No. 1 cable news program in 2016, according to Adweek.

This story has been updated.