LOS ANGELES (AP) -- A Los Angeles judge has sentenced a man arrested outside Audrina Patridge's home to two years in state prison.
Zachary Loring pleaded no contest to stalking "The Hills" star in June but a judge was awaiting the results of a psychological evaluation before issuing a sentence.
The two-year sentence is the maximum term Loring could receive. He was also ordered the 25-year-old to stay away from Patridge for 10 years.
He has been jailed since he was arrested in February outside the star's home. District Attorney's spokeswoman Jane Robison says he received credit for nine months he's been jailed.
Patridge had obtained a civil restraining order against Loring months before his current arrest.
- Aug. 23, 2016 Is Ariana Grande dating Mac Miller? Plus, more news
- Aug. 17, 2016 Check out all the ways the stars are nothing like us!