Ryan Secrest

Ryan Seacrest has been granted a three-year restraining order from his alleged stalker, Chidi Uzomah, according to the Los Angeles County Superior Court.

The restraining order says Uzomah is not allowed to come within 100 yards of Seacrest, his home, car and various places of employment until November 2012. Uzomah is also prohibited from any direct or indirect contact with the host of American Idol and E! News.

Man accused of stalking Ryan Seacrest pleads not guilty

Seacrest first received a temporary restraining order against Uzomah Oct. 30, the day Uzomah was arrested for stalking after trying to enter a facility at the Los Angeles address of E! Entertainment Television offices. Uzomah was also arrested in September for attempting to get into a vehicle with Seacrest. He later pleaded guilty to three misdemeanors, including assault, battery and carrying a switchblade knife.

Uzomah has pleaded not guilty to the charges stemming from his Oct. 30 arrest, including one count of felony stalking and two misdemeanor counts of violating an earlier court order to stay away from Seacrest. If convicted, he faces up to four years in prison.