Former flight attendant says pilot posted explicit pictures of her online: Lawsuit

A pilot pleaded guilty to stalking the flight attendant in 2015.

The two were in a relationship while working for the airline, but broke up in 2006 after the pilot refused to stop posting the images, according to a complaint filed in federal court in San Antonio, Texas.

In the following years, the unidentified woman claimed she filed several complaints with the airline, but no discipline ever came down on the pilot, identified as Mark Uhlenbrock in the lawsuit.

In a statement to ABC News, United Airlines said the lawsuit's description of the situation is not accurate: “We have reviewed the allegations in the complaint and disagree with Equal Employment Opportunity Commission’s description of the situation. United does not tolerate sexual harassment in the workplace and will vigorously defend against this case.”

In 2015, the pilot was arrested by the FBI for continuing to post nude images of the woman, which he later admitted to, according to the lawsuit. He pleaded guilty to stalking and was sentenced to 41 months in prison. The captain was allegedly allowed to retire with full benefits in 2016, according to the complaint.

The U.S. Equal Employment Opportunity Commission, which filed the lawsuit against United Airlines, said the carrier "violated federal law by subjecting a female flight attendant to a hostile work environment of sexual harassment over a multi-year period,” according to an EEOC news release.

The lawsuit accuses the airline of failing to protect the former flight attendant and discriminating based on sex.

Uhlenbrock's attorney did not immediately respond to a request for comment.