LOS ANGELES -- A judge on Thursday issued a five-year restraining order forbidding Britney Spears鈥 former manager from contacting the singer or her family or making disparaging statements about them online.

Los Angeles Superior Court Judge Brenda Penny reached the decision after hearing testimony from the ex-manager, 44-year-old Sam Lutfi, and from Spears鈥 father, James Spears, who has controlled his daughter鈥檚 money and affairs via a court-ordered conservatorship for 11 years.

Penny rejected arguments from Lutfi鈥檚 attorney, Marc Gans, that the order is an unconstitutional restraint on his client鈥檚 free speech, calling Lufi鈥檚 testimony evasive and extending the temporary restraining order she first issued on May 8.

Gans said outside court that they are considering an appeal. James Spears declined comment.

James Spears conceded under questioning from Gans that he does not have the most peaceful relationship with Britney Spears.

鈥淢e and my daughter鈥檚 relationship has always been strained,鈥 James Spears said.

But in further testimony that Penny said she found forthright and credible, James Spears testified that Lutfi, who was close to Britney Spears in 2007 and 2008 and served briefly as her manager, has been a 鈥減redator鈥 on his family for more than a decade whose harassment has recently resumed.

鈥淚 worried that he was trying to take down the conservatorship,鈥 Spears said from the stand. 鈥淚 was very angry. I was worried that we were right back in 2008.鈥

Spears and his lawyers suggested, and Penny appeared to agree, that Lutfi has attempted to incite fans who have used the social-media hashtag #Free Britney to criticize the control James Spears and the court have had over the pop star for the past 11 years.

Lutfi鈥檚 Twitter account, the subject of much of the testimony, consists almost entirely of posts critical of Spears鈥 circumstances and those surrounding her.

But Gans argued that none of the statements were made directly to individuals or could be considered harassment.

He also emphasized that Lutfi has made no direct contact with Britney Spears herself, and suggested that her father and his lawyers were not speaking for her and had provided no evidence that she had in any way been harmed by Lutfi鈥檚 statements.

Britney Spears was not present in court, and she has made very few public comments on the conservatorship.

In testimony that Penny struck from the record, Lutfi said that Britney Spears had reached out to him at various times through the years to complain about her father鈥檚 control over her.

鈥淪he wanted help to get out of this situation,鈥 Lutfi said.

The judge also shut down most of Gans鈥 questions toward James Spears. The questions asked him to discuss his daughter鈥檚 mental state and tried to establish that disparaging online statements Lutfi had made about James Spears鈥 use of alcohol and his enriching himself through the conservatorship were true and constitutionally protected.

Lutfi admitted that he had contacted Britney Spears鈥 mother, Lynne Spears, and the singer鈥檚 brother-in-law James Watson via texts and phone calls, and sent Lynne Spears money that was subsequently returned.

Lutfi testified that he sent the money 鈥渏ust like numerous other fans did鈥 because Lynne Spears had 鈥渓iked鈥 Instagram posts that suggested she was in need of money and that she should be in charge of her daughter鈥檚 affairs instead of her ex-husband James Spears.

鈥淚 had a great relationship with Lynne Spears,鈥 Lutfi said of his time with Britney Spears.

Lutfi and Gans said that neither Lynne Spears nor Watson had told him to stop communicating with them or told him he was harassing them.

Gans also argued that tweets from his client, including one that simply said 鈥淩aise hell,鈥 were far too vague to be considered harassment of the Spears family.

Penny disagreed, citing that tweet in her decision as illegal incitement.

The proceedings were a resumption of a hearing that began on May 28 and had been closed to the media and the rest of the public. But Penny, who also oversees Spears鈥 conservatorship case, kept the courtroom open on Thursday.

The Spears family has frequently fought Lutfi in court, starting with a restraining order they received against him in 2009.

鈥淗e鈥檚 been asked repeatedly to stay away from this family,鈥 Chad Hummel, an attorney for the conservatorship, said in closing arguments. 鈥淗e can鈥檛 help himself.鈥