Mel B's got complications.
The America's Got Talent judge, also known as Mel Brown, is being sued for libel by her former nanny, Lorraine Gilles, according to court papers obtained by ET. In previous court filings, Brown alleged that Gilles carried on an affair with her estranged husband, Stephen Belafonte, whom Brown also accused of physical and emotional abuse for much of their nearly 10 years of marriage.
Belafonte has denied all Brown's allegations.
WATCH: Mel B Granted Restraining Order Against Nanny She Claims Had an Affair With Estranged Husband
In those court filings, Brown claimed that Gilles became pregnant as a result of the affair -- and that Belafonte told Brown that he wanted to have the baby and "all three of us live together" -- before ultimately demanding Gilles get an abortion.
But in Gilles' lawsuit, filed against the 41-year-old singer in Los Angeles on Friday, the former nanny is suing for defamation, invasion of privacy and intentional infliction of emotional distress and asking for unspecified damages.
ET has reached out to Brown's representatives for comment.
In the new court documents, Gilles claims Brown's declaration for a restraining order included details that smeared her image by exposing private and sensitive information as well as making statements that were "blatantly and demonstrably false."
"When read in its totality, Brown's Declaration portrays Gilles as a homewrecker [sic], prostitute and extortionist, maliciously describing Gilles as being impudent, unscrupulous, and exploitative. Moreover, given Brown's celebrity status, Brown was aware or should have been aware that the Declaration would be publicized and made available to the public at large," Gilles claims in her 106-page complaint.
NEWS: Mel B Files Restraining Order Against Estranged Husband Stephen Belafonte, Alleges Physical and Sexual Abuse
Regarding Brown's previous claims about Gilles and Belafonte's alleged affair and existence of sex tapes, Gilles alleges that her primary sexual relationship was with Brown, not Belafonte, and that he was involved only when invited by the singer, "at which point Brown would often serve as the 'camera man' and record the sexual encounter and/or take part in the menage a trois herself," the suit alleges.
Gilles claims she is "personally aware of several 'sex tapes' recorded by Brown or her husband showing the three individuals having consensual group sex," According to the lawsuit, Gilles claims she "never had any sexual relations with Belafonte without Brown's instruction and without Brown's actual or apparent consent."
As for Gilles' abortion, the former nanny claims it was the result of a one-night stand with a man she met at a West Hollywood, California, bar on a night out in 2014, and not an affair with Belafonte. She also claims she confided in Brown and that the former Spice Girl was supportive.
"Gilles was very embarrassed and confused on what to do, and did not want this sensitive information to be revealed to anyone," according to the lawsuit. "However, feeling confident she can discreetly confide in her best friend and mentor Brown for support, Gilles immediately sought guidance from Brown."
"Brown assisted Gilles with arranging the appointment, advanced the cash for the procedure, and booked a hotel for Gilles to stay in to recover from the procedure in privacy," she alleges in the lawsuit.
Gilles claims she was terminated in September 2016, after finding herself caught in the middle of intensifying marital arguments between Brown and Belafonte, and says she hasn't spoken to Brown since her employment ended.
Earlier this month, a source close to Brown, Belafonte and Gilles disputed the claim that Belafonte got Gilles pregnant.
"It was a very painful time for her," the source also said of Gilles' abortion. "During this time, Mel took care of Lorraine like a sister, very lovingly."
WATCH: Mel B's Estranged Husband Stephen Belafonte Breaks Silence on Shocking Abuse Allegations
Catch up on the details of the ongoing public battle in the video below.
-- Reporting by Brendon Geoffrion.