NEW YORK (CNN) — Roger Ailes, who built Fox News Channel into a ratings powerhouse over two decades before he was forced out in a sexual harassment scandal, died Thursday.

The death was announced by his family and reported on Fox News.

READ MORE: Pennsylvania US Senate Race Between Republicans Mehmet Oz, Dave McCormick Too Close To Call

Ailes started the network almost from scratch in 1996 and built it into not just a cable news ratings leader but a profound influence on the right wing of American politics.

READ MORE: John Fetterman Wins Democratic Pennsylvania Primary For Senate, AP Projects

Ailes was arguably the most powerful man in media when he suddenly lost his job last summer. Gretchen Carlson, a former Fox anchor, sued him for sexual harassment, and other women came forward to support her claims. Ailes resigned July 21.

MORE NEWS: Phillies Return Home After Road Trip With 3-0 Loss To Padres

The-CNN-Wire ™ & © 2017 Cable News Network, Inc., a Time Warner Company. All rights reserved.