Britney Spears was granted a temporary restraining order against a former confidante who she says has been harassing her family again.
A judge ordered 44-year-old Sam Lutfi, who has been in legal fights with the Spears family for a decade, to stay at least 200 yards (183 metres) from her, her parents and her two sons, who are 12 and 13.
The judge also ordered that he not contact or disparage anyone from the family.
The restraining order petition alleges Lutfi has been sending harassing and threatening texts to Spears' family and disparaging them on social media.
"Mr. Lutfi's actions have caused severe mental trauma at a time where Ms. Spears is recovering from stress related to her father's health and her work," the documents state. "Mr. Lutfi's unjustified interference in her life ... threaten Ms. Spears safety and well-being."
In January, Spears put her career on indefinite hiatus and delayed the start of a Las Vegas residency so she could focus on her ailing father.
Lutfi said he had not made contact with Spears since 2009, when a previous restraining order against him was granted to Spears.
"We are disappointed at the outcome," Lutfi's attorney Marc Gans said. "I think it is overly broad and violates Mr. Lutfi's constitutional rights."
The order was granted until a May 28 court hearing on the matter.
Lutfi was a major presence in Spears' life at the height of her fame, and had claimed he was her manager in the years leading up to a public meltdown in 2008.
Her troubles led to the establishment of a court-ordered conservatorship, which allowed her father, Jamie, and attorneys to run her affairs and remains in effect a decade later.
A court hearing on the arrangement is scheduled for Friday, and a judge ruled late Wednesday that a lawyer for Britney's mother and Jamie's ex-wife Lynne Spears could be part of the proceeding.
Lynne Spears has not previously been involved in her daughter's conservatorship.
The restraining order granted Wednesday also alleged that Lutfi has sought to undermine the conservatorship.
Lutfi sued the Spears family in 2009, alleging Britney Spears had breached a contract with him, Jamie Spears had punched him and Lynne Spears had defamed him in a memoir.
A judge threw out the lawsuit in 2012, another judge later restored it on appeal, and it was settled in 2016.
Australian Associated Press