A man who stalked American Idol host Ryan Seacrest has been sentenced to two years in prison and ordered to stay away from the star for 10 years.
Chidi Uzomah, 26, who did not speak during the sentencing hearing, had previously pleaded no contest.
He has been in jail since his June 2009 arrest after being stopped by security at cable network E! in Los Angeles, where Seacrest was recording a show.
Uzomah was already on probation for attacking one of Seacrest's bodyguards.
He had pleaded guilty to assault, battery and carrying a knife after that incident at a charity event in Orange County last year.
Mr Seacrest's lawyer Blair Berk said: "Ryan is extremely appreciative of the work of the Los Angeles County District Attorney's office in this matter."
Restraining orders filed last year by Mr Seacrest, claimed Uzomah who had been carrying a knife.
Along with the prison sentence, Uzomah has been orderd to stay 500 yards away from Seacrest and his workplace for 10 years.
Seacrest, 35, is a radio and television personality best known for hosting American Idol and E! News.