Longtime FOX News host Gretchen Carlson has filed a lawsuit against the network's chairman and CEO Roger Ailes, alleging that she was dismissed after she rebuffed Ailes' sexual advances.

The lawsuit, which has been obtained by TheWrap, was filed on Wednesday in Bergen County, New Jersey.

FOX News has not yet responded to TheWrap's request for comment.

Also Read: FOX News Prevails After FEC Votes Not to Punish Network Over GOP Debate

Carlson claims that Ailes "sabotaged her career because she refused his sexual advances and complained about severe and pervasive harassment."

According to the lawsuit, Ailes once said to Carlson: "I think you and I should have had a sexual relationship a long time ago and then you'd be good and better and I'd be good and better."

Carlson allegedly refused his sexual advances, and her career at FOX News was ended nine months later.

Also Read: FOX News on Pace for Most-Watched Year in Network History

The suit claims that Ailes terminated Carlson "as a direct and proximate result" of the host denying his sexual advances and the loss of employment has caused "significant economic, emotional and professional harm."

Carlson claims that Ailes denied her "fair compensation, desirable assignments and other career-enhancing opportunities in retaliation for her complaints of harassment and discrimination."

"As you may have heard, I am no longer with Fox News. I value your support and friendship, especially now, so please stay in touch with me. I value your support and friendship, especially now, so please stay in touch with me," Carlson said in a statement on her Facebook page.

As you may have heard, I'm no longer with @FoxNews. I value your support and friendship so please stay in touch: https://t.co/R7JBTsvYSh — Gretchen Carlson (@GretchenCarlson) July 6, 2016

Also Read: How Megyn Kelly Could Become the Most Powerful Woman in TV News

The suit also alleges that Carlson complained of former "FOX & Friends" co-host Steve Doocy back in 2009, claiming he created a hostile work environment by treating her in a sexist and condescending way. According to the court documents, Ailes' response to the complaint was that Carlson needed to learn to "get along with the boys."

Carlson claims Ailes once asked her to turn around so he could view her posterior, repeatedly commented on her legs and urged her to wear particular outfits. Ailes even allegedly said that if he could chose one person to be stranded on a desert island with, he would choose Carlson.

Carlson is a graduate of Stanford University and was named Miss America in 1989. She joined FOX News in 2005.

See more of Carlson through the years:



31 PHOTOS Gretchen Carlson through the years See Gallery Gretchen Carlson through the years Gretchen Carlson (Photo by Jeff Kravitz/FilmMagic) Miss America At Spireclub -- Miss America Gretchen Elizabeth Carlson plays Billiars In one of the rooms in the new club which offer many activities. With her showing how to shoot, is James. Stewart, Marketing agent for Pire club. September 15, 1988. (Photo by Michael Schwartz/New York Post Archives/(c) NYP Holdings, Inc. via Getty Images) Debbye Turner, Miss America 1990, Ericka Dunlap, Miss America 2004, and Gretchen Carlson, Miss America 1989 (Photo by Bruce Glikas/FilmMagic) Gretchen Carlson attends private screening: 'Memoirs of a Geisha' at Sony Screening Room on November 22, 2005 in New York City. (Photo by Scott Rudd/Patrick McMullan via Getty Images) John Voight, left, visits with anchors of 'Fox & Friends' Steve Doocy and Gretchen Carlson. (Photo by Carolyn Cole/Los Angeles Times via Getty Images) John Edward, Steve Doocy, Gretchen Carlson and Brian Kilmeade visit 'FOX & Friends' at the FOX Studios on October 5, 2010 in New York City. (Photo by Andrew H. Walker/Getty Images) Miss America 1989 and Fox News Channel co-host Gretchen Carlson is introduced at the 2010 Miss America Pageant at the Planet Hollywood Resort & Casino January 30, 2010 in Las Vegas, Nevada. (Photo by Ethan Miller/Getty Images for Planet Hollywood) Demi Lovato, Steve Doocy, Gretchen Carlson and Clayton Morris visit 'FOX & Friends' at the FOX studios on August 18, 2010 in New York City. (Photo by Andrew H. Walker/Getty Images) Ali Landry (C) poses for a photo with 'FOX & Friends' Co-hosts Gretchen Carlson and Steve Doocy outside the FOX studios on September 9, 2010 in New York City. (Photo by Paul Morigi/Getty Images) Elmo and host Gretchen Carlson visits 'FOX & Friends' at the FOX Studios on November 18, 2010 in New York City. (Photo by Neilson Barnard/Getty Images) 'Fox & Friends' co-anchor Gretchen Carlson and Miss America 2011 Teresa Scanlan attend 'Fox & Friends' at FOX Studios on January 17, 2011 in New York City. (Photo by Slaven Vlasic/Getty Images) Miss America 1989 and Fox News Channel co-host Gretchen Carlson introduces pageant judges during the 2011 Miss America Pageant at the Planet Hollywood Resort & Casino January 15, 2011 in Las Vegas, Nevada. (Photo by Ethan Miller/Getty Images) Cookbook authors brothers Jamie and Bobby Deen visit FOX & Friends and talk to host Gretchen Carlson, at FOX & Friends at FOX Studios on April 20, 2011 in New York City. (Photo by Slaven Vlasic/Getty Images) Host Steve Doocy, vocalist Brad Arnold of 3 Doors Down and host Gretchen Carlson pose for photos during a taping of 'FOX and Friends' outside of FOX Studios on July 29, 2011 in New York City. (Photo by Astrid Stawiarz/WireImage) 'FOX & Friends' hosts Steve Doocy, Gretchen Carlson and Brian Kilmeade greet the crowd during a taping of 'FOX & Friends' at FOX Studios on July 15, 2011 in New York City. (Photo by Astrid Stawiarz/Getty Images) Cookbook authors brothers Jamie and Bobby Deen visit FOX & Friends and talk to host Gretchen Carlson, at FOX & Friends at FOX Studios on April 20, 2011 in New York City. (Photo by Slaven Vlasic/Getty Images) Host Gretchen Carlson and Craig Morgan speak during 'FOX & Friends' All American Concert Series at FOX Studios on July 13, 2012 in New York City. (Photo by Charles Norfleet/FilmMagic) Gretchen Carlson is the guest co-hoston 'The View.' (Photo by Lou Rocco/ABC via Getty Images) Professional tennis double players and 2012 olympic gold medalists, Mike Bryan and Bob Bryan chat and play table tennis with 'FOX & Friends' hosts Steve Doocy, Gretchen Carlson and Brian Kilmeade live on 'FOX & Friends' at FOX Studios on August 23, 2012 in New York City. (Photo by Neilson Barnard/Getty Images) Fox & Friends hosts Steve Doocy, Gretchen Carlson and Brian Kilmeade during 'FOX & Friends' All American Concert Series outside of FOX Studios on July 19, 2013 in New York City. (Photo by Slaven Vlasic/Getty Images) Steve Doocy, Gretchen Carlson, Brian Kilmeade, John Lynch and The cast of 'Duck Dynasty' Si Robertson, Jep Robertson and Willie Robertson visit 'Fox And Friends' at Fox News Studios on September 9, 2013 in New York City. (Photo by Laura Cavanaugh/Getty Images) Fox News Channel Host Gretchen Carlson speaks onstage during a 'Fireside Chat on Persecuted' panel at Variety's Purpose: The Family Entertainment and Faith-Based Summit in association with Rogers And Cowan at Four Seasons Hotel Los Angeles at Beverly Hills on June 12, 2014 in Beverly Hills, California. (Photo by Rich Polk/Getty Images for Variety) Journalist Gretchen Carlson attends 'Persecuted' screening at Lighthouse International Theater on July 18, 2014 in New York City. (Photo by Jim Spellman/WireImage) Fox News Channel Host Gretchen Carlson speaks onstage during a 'Fireside Chat on Persecuted' at Variety's Purpose: The Family Entertainment and Faith-Based Summit in association with Rogers And Cowan at Four Seasons Hotel Los Angeles at Beverly Hills on June 12, 2014 in Beverly Hills, California. (Photo by Rich Polk/Getty Images for Variety) THE VIEW Mindy Kaling and Gretchen Carlson were the guests, Wednesday, June 17, 2015 on ABC's 'The View.' ' (Photo by Lou Rocco/ABC via Getty Images) Miss America 1989 Gretchen Carlson attends the 2016 Miss America Competition at Boardwalk Hall Arena on September 13, 2015 in Atlantic City, New Jersey. (Photo by Michael Loccisano/Getty Images for dcp) Gretchen Carlson, Debra Shriver and Danielle Weisberg attend Hearst Chief Content Officer Joanna Coles Hosts the Hearst 100 Luncheon at Michael's on December 12, 2016 in New York City. (Photo by Jared Siskin/Patrick McMullan via Getty Images) Gretchen Carlson arrives for the Hearst 100 Luncheon at Michael's on December 12, 2016 in New York City. (Photo by Rob Kim/Getty Images) Gretchen Carlson attends Women at the Top: Female Empowerment in Media Panel at the 2016 Greenwich International Film Festival on June 12, 2016 in Greenwich, Connecticut. (Photo by Noam Galai/Getty Images for GIFF) NEW YORK, NY - APRIL 03: (EXCLUSIVE COVERAGE) TV commentator/author Gretchen Carlson visits Insight at SiriusXM Studios on April 3, 2017 in New York City. (Photo by Slaven Vlasic/Getty Images) NEW YORK, NY - FEBRUARY 08: (L-R) Editor-in-Chief of New York Magazine Adam Moss, Editor-in-Chief of Good Housekeeping Jane Francisco, News anchor Gretchen Carlson, Editor-in-Chief of Glamour Cindi Leive, Editor-in-Chief of the Meredith Parents Network Liz Vaccariello, and Editor-in-Chief of People Magazine Jess Cagle attend the American Magazine Media Conference 2017 on February 8, 2017 in New York City. (Photo by Nicholas Hunt/Getty Images for American Magazine Media Conference) Up Next See Gallery Discover More Like This HIDE CAPTION SHOW CAPTION of SEE ALL BACK TO SLIDE

Read original story Ex-FOX News Host Gretchen Carlson Files Sexual Harassment Lawsuit Against Roger Ailes At TheWrap