Selena Gomez's stalker has been jailed for trespassing on her property.

Juan Garcia, who was arrested outside the 'Come & Get It' hitmaker's house on January 25, was convicted after pleading no contest to the charge in court today (07.02.14) and sentenced to 120 days in Los Angeles County Jail.

The 19-year-old obsessed fan, who previously told police that he had travelled from his home in Arizona to see the singer in person, was also placed on three years probation and ordered to stay at least 150 yards away from the 21-year-old star and her home for three years upon his release from prison, according to gossip website TMZ.com.

Police officers rushed to Selena's home in Tarzana, California last month after a family member spotted Juan creeping around and called 911.

It is not known if Selena, who spent two weeks in rehab in January, was at home at the time of the incident.

The brunette beauty had a terrifying encounter with a stalker a few years ago.

Thomas Brodnicki, 46, was ordered to stay away from the singer and actress in 2011 after repeatedly talking about killing her while under psychiatric hold.

He later admitted the former Disney star needed to be protected from him.