A judge has issued a restraining order against a man accused of breaking into the home of actress Jennifer Aniston.
Aniston was filming in Chicago at the time of the alleged incident
David Hesterbey, 48, of Santa Barbara, California, was ordered to stay away from Aniston for three years.
He is forbidden from coming within 100 yards of the former Friends star, her home, her workplace or her vehicle.
Mr Hesterbey remains in custody facing first degree burglary and petty theft charges. He has pleaded not guilty and will return to court later this month.
If convicted, he faces up to six years in prison.
Aniston, 36, was on location shooting a film when Mr Hesterbey allegedly entered her rented Malibu property on 25 August.
He allegedly told Aniston's employees he was "looking for Jennifer" after climbing a 2.7-metre fence to gain entry into the house.
Mr Hesterbey was arrested later that day walking on a beach near Aniston's home.
He is due back in court on 26 September.
Aniston moved into the rented property after splitting with her husband, Hollywood actor Brad Pitt, 41.
Aniston filed for divorce in March, citing irreconcilable differences - 11 weeks after the couple announced their separation.
The divorce is expected to be finalised on 2 October.