Nicole Richie has obtained a restraining order to prevent a photographer from going anywhere near her daughter's pre-school.

The former 'Simple Life' star - who has two children, two-year-old Harlow, and 14-month-old Sparrow with Good Charlotte rocker Joel Madden - has sought the court order against Fabricio Luis Mariotto, who has been causing her "emotional distress" due to his "predatory behaviour".

In the court documents, Nicole said: "Mariotto drives erratically around my children and others, yells, screams and attempts to scare us so that he can photograph our reaction. He trespasses on pre-school property to photograph the children.

"He has often left his car in the middle of a busy street just to chase me for a photograph. His predatory behaviour caused and continues to cause severe emotional distress as I fear for the safety of my children."

The restraining order will block the paparazzo from going anywhere near Nicole and her family, in particular, Harlow's Los Angeles school.

This is not the first time the 29-year-old socialite has obtained such an order.

She was also granted a restraining order against photographers Eduardo Arrivabene and Ivon Miguel, after she claimed they crashed into her vehicle after constantly hounding the petite star.