Britney Spears has struck a settlement with the former bodyguard who claimed the pop star was a genital-flashing sexual harasser during his time with the singer ... TMZ has learned.
According to court documents, Britney and Fernando Flores agreed to end their 2-year legal war ... which started when Flores filed a lawsuit claiming she was a naked menace to work for.
In his suit, Flores had alleged Britney would intentionally drop her cigarette lighter in Fernando's presence and then bend over to pick it up ... and "thereby exposed her uncovered genitals."
Flores also claimed Spears abused her children.
Spears adamantly denies all of the allegations -- but sources tell TMZ she coughed up a modest financial settlement just to make the case go away. We're told the settlement was amicable ... but the money didn't even cover all of Flores' legal costs.
Of course, Spears is still under a conservatorship so the settlement will have to be approved by a probate court before it becomes a done deal ... but that's just a formality and shouldn't stop the deal from going through.