1.1106015-1524543373
In this September 6, 2012 file photo, Miley Cyrus attends the MTV Video Music Awards in Los Angeles. A judge granted Cyrus a three-year restraining order on Friday Nov. 16, 2012 against a man convicted of trespassing at the actress-singer's home and resisting arrest. Image Credit: AP

A judge has granted Miley Cyrus a three-year civil restraining order against a man convicted of trespassing at her home in Los Angeles.

The stay-away order was granted on Friday against Jason Luis Rivera by Superior Court Judge William D. Stewart.

The 40-year-old Rivera was convicted in October of trespassing at the singer’s home and sentenced to 18 months in jail.

He is scheduled to be released in May. Authorities said at the time of Rivera’s arrest in September that he was carrying scissors and ran into the wall of Cyrus’ home as if trying to break in.

Rivera did not respond to Cyrus’ petition.

The 20-year-old former star of ‘Hannah Montana’ did not attend the hearing. Her attorney Bryan Sullivan declined comment.