X17online.com 1 / 5

LOS ANGELES (AP) --

A judge has ordered Britney Spears' former manager and an attorney to stay away from the pop singer.

See photos of Britney's Circus Tour

Los Angeles Superior Court Judge Aviva Bobb issued her ruling Tuesday after hearing testimony and arguments from the men and lawyers for Spears' father, Jamie.

Bobb ordered Osama "Sam" Lutfi (LUT-fee) and attorney Jon Eardley to stay away from the 27-year-old pop singer and to not contact her for the next three years.

Check out Britney and more stars who are nothing like us

Jamie Spears and his lawyers petitioned for lengthy restraining orders against the men in January, arguing that the pair were conspiring to undermine the conservatorship.

Attorneys for Lutfi and Eardley contended the men had never threatened Spears' safety and the petition didn't meet the standards for issuing a restraining order.

Get all the latest coverage of Britney Spears

More Photos: Britney Spears