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.
Rihanna, Katy Perry, and Heidi Klum all get an F on this week's Fashion Offenders.
From Mila Kunis to Mary-Kate Olsen, get the scoop on all the engagements in Hollywood on Replay.
Julianne Moore, Amy Adams, Kim Kardashian and Kris Jenner all get an F on this week's Fashion Offenders.
From Katy Perry and John Mayer to Paula Patton and Robin Thicke, get the scoop on all the breakups in Hollywood.
The Rock flexes massive muscle while getting sentimental on Celebs Gone Social hosted by Wonderwall editor Chris Gardner.
Lady Gaga, Kourtney Kardashian, and Gerard Butler all get an F on this week's Fashion Offenders hosted by Wonderwall's Kirby Kristen.
From the Atkins Diet to aerial fitness classes, see what stars like Kim Kardashian, Jessica Alba and Beyonce do to keep in shape.
© 2014 Microsoft