Gwyneth Paltrow alleged stalker has been given a temporary restraining order.

The 'Iron Man' actress was forced to take legal measures against Nickolaos Gavrilis, ordering him to remain at least 100 yards from her, her estranged husband Chris Martin and their two children, Apple and Moses, after he reportedly tried to sneak into their family homes in London and Los Angeles.

According to ET Canada, details of the incidents were given from Terry Abbott, Gwyneth's Director of Security, were featured in the court petition granted last Friday (18.04.14).

It's claimed Nikolaos tried to break into the GOOP mogul's house on a number of occasions, with the first occurring in September 2012, when he pretended to have a business meeting with her.

Legal action was taken when the supposed stalker ''made a third attempt'' to access Gwyneth's residence in Los Angeles, California, earlier this month.

He was also spotted on April 10 near the Tracy Anderson Studio, where the actress is regularly seen working out.

The man has also been accused of using social media to reach out to the star, often posting ''disturbing'' messages on Gwyneth's Facebook page, which apparently caused her ''substantial emotional distress''.

Dr. David Glaser, a clinical and forensic psychiatry specialist, backed up the claims, saying the man poses a ''danger of great and irreparable harm to Ms. Paltrow, her family, and those close to them.''

A hearing will take place on May 12 to decide whether the restraining order should be made permanent.