Olivia Wilde and Jason Sudeikis' temporary restraining order against an alleged stalker has been made permanent.

The actress' request for an order protecting her, ex-partner Sudeikis and their two children Otis and Daisy from 30-year-old Eric Nathanial Fuhs was granted by a judge last month.

And now, according to new legal documents obtained by TMZ.com, the judge has signed off on making the order a three-year one - preventing Fuhs from going anywhere near the family.

The Tron star previously alleged that Fuhs' harassment of her began back in October last year when he accessed a private Zoom call Wilde was on, and progressed to turning up at her house to leave notes claiming he's in a relationship with the actress.

One note, addressed to Sudeikis, explains "how she (Olivia) was unhappy in her relationship, and how she wanted to start a new relationship with me... This continued almost every day ... until January, when Harry Styles got credit for what I was doing."

Wilde is currently in a relationship with former One Direction star Styles.

Wilde added she's worried that Fuhs managed to find her house - given that she's never shared her address - and expressed concern about one of his notes which read: "I, as of March 19, 2021 am now struggling to stay sane whilst being hidden."