Story highlights She was one of the Democrats trying to unseat GOP Rep. Kevin Yoder in 2018

She made her announcement on Facebook

Washington (CNN) Democrat Andrea Ramsey announced Friday morning she was dropping out of the race to fill a competitive House of Representatives seat in Kansas amid news of a 2005 lawsuit that accused her of sexual harassment.

Ramsey, who announced on Facebook that she was quitting the race, was accused in the lawsuit of sexually harassing and then retaliating against a male subordinate who said he had rejected her advances. Ramsey was not named as a defendant in the case, which was first reported by The Kansas City Star

The case was dismissed in 2006 and multiple sources with knowledge told The Star the man had reached a settlement with LabOne, the company where Ramsey had been the executive vice president of human resources. Ramsey told The Star she was unaware of any settlement.

She was one of the Democratic candidates running to try to unseat Republican Rep. Kevin Yoder in 2018 in Kansas' 3rd District and also had the endorsement of Emily's List, the influential Democratic political committee that backs women for public office who support abortion rights.

"A man sued my company twelve years ago and made false accusations against me. Had the false allegations been brought against me directly, I would have fought to exonerate my name and my reputation," she said in the Facebook post . "Now, twelve years later this suit is being used to force me out of my race for Congress."

Read More