• BREAKING NEWS ABC shows live and on-demand -- Download the WATCH ABC app!

OTRC: Miley Cyrus' trespasser gets 18 months in jail

Miley Cyrus appears in a photo posted to her instagram account in August 2012. (Instagram.com/mileycyrusr)

Miley Cyrus' trespasser Jason Luis Rivera got 18 months in jail for misdemeanor trespassing and resisting arrest.

Superior Court Judge Dennis Mulcahy issued the sentence on October 20 to Rivera, who has been jailed since his arrest on September 8.

40-year-old Rivera was arrested outside Miley Cyrus' Los Angeles-area home, when the pop star was out of town. Police say Rivera was carrying scissors and he tried to open the front door. He later claimed he was a friend of the singer for five years and was waiting for her to return.

Relatives who were staying at Cyrus' home called police while Rivera was lighting candles outside. Shortly after officers arrived, Rivera told them he had been secretly married to Cyrus for several years. Rivera then reportedly ran from police, which is why he was charged on a count of resisting arrest.

Rivera pled not guilty on September 10, to the two counts of trespassing and one count of resisting arrest.

It is unclear if Rivera has any prior convictions. All charges are misdemeanors. One count of trespassing carries a maximum jail sentence of up to six months, while a person convicted of resisting arrest could be put behind bars for up to a year.

(Copyright ©2018 OnTheRedCarpet.com. All Rights Reserved.)