Fox News representatives did not immediately return requests for comment on the lawsuit, which was filed in Superior Court in New Jersey's Bergen County.

Carlson, the former host of a daytime show at Fox, alleged Ailes had retaliated against her because of complaints she had made about discrimination and harassment. The 11-year Fox employee was anchoring a 2 p.m. show when she said she was fired on June 23 at the end of her contract.

She said her firing came nine months after Ailes told her during a meeting that "you and I should have had a sexual relationship a long time ago."

The 50-year-old Carlson was Miss America in 1989.

She alleged in the lawsuit that Ailes, who is 76, ogled her, repeatedly commented about her legs, urged her to wear clothes that enhanced her figure and told her she was sexy but "too much hard work."

Carlson said she was fired as a host of the morning show Fox & Friends in 2013, and her pay reduced with the transfer to a daytime slot, because she had complained about sexual harassment.

She said that one of her Fox & Friends co-hosts, Steve Doocy, "had created a hostile work environment by regularly treating her in a sexist and condescending way." She said that when Ailes heard of her complaints, he called her a "man hater" who needed to learn to "get along with the boys."

Carlson said that Ailes punished her by cutting back on political interviews that she conducted and ending a regular appearance she made on Bill O'Reilly's prime-time program, generally Fox's highest-rated show.

"I have strived to empower women and girls throughout my entire career," Carlson said in a statement. "Although this was a difficult step to take, I had to stand up for myself and speak out for all women and the next generation of women in the workplace."

Two days after the June 12 Orlando, Florida, nightclub massacre, Carlson told viewers that she supported reinstating a ban on assault weapons. The next day, she revealed Fox viewers had profanely attacked her, and she read some of the cleaner responses on the air.

Crain’s New York Business is the trusted voice of the New York business community—connecting businesses across the five boroughs by providing analysis and opinion on how to navigate New York’s complex business and political landscape.