Singer Rihanna attends the 4th annual Diamond Ball at Cipriani Wall Street on Thursday, Sept. 13, 2018, in New York. (Photo by Evan Agostini/Invision/AP) Image Credit: Evan Agostini/Invision/AP

A man who authorities say broke into Rihanna’s Hollywood Hills home and spent 12 hours there when she was not home has pleaded no contest to stalking the singer.

Los Angeles County prosecutors said on February 8 that 27-year-old Eduardo Leon of Fullerton entered the plea to felony counts of stalking and vandalism and a misdemeanor count of resisting arrest.

He was immediately sentenced to five years’ probation and 90 days of GPS monitoring. A judge also ordered him to stay away from Rihanna for 10 years, to stay off social media while on probation and to enter a programme for mental health and drug treatment.

Prosecutors said Leon leapt a fence and broke into the house on May 9. Twelve hours later, Rihanna’s assistant found him and called police.