21st Century Fox today announced that Roger Ailes, Chairman and CEO of Fox News Channel and Fox Business Network, and Chairman of Fox Television Stations, has resigned from his role effective immediately.

Rupert Murdoch will assume the role of Chairman and acting CEO of Fox News Channel and Fox Business Network.

Murdoch wrote that Ailes had made a “remarkable contribution” to the company and the country for more than 20 years.

“It is always difficult to create a channel or a publication from the ground up and against seemingly entrenched monopolies. To lead a flourishing news channel, and to build Fox Business, Roger has defied the odds,” Murdoch said in the statement.

Ailes had come under fire after former Fox News anchor Gretchen Carlson filed a sexual harassment lawsuit against him. Questions were then raised about the culture of leadership Murdoch fostered within Fox. Ailes will reportedly walk away with millions from the company.