Man ordered to stay away from Alyson Hannigan
LOS ANGELES (AP) -- A judge has ordered a New Hampshire man to refrain from posting anything online about Alyson Hannigan or to try to meet the actress.
Los Angeles Superior Court Judge Carol Boas Goodson issued a three-year restraining order against John Hobbs after a brief hearing Wednesday.
RELATED: Hollywood's Funniest Moms
Hannigan stated in court filings last month that Hobbs has posted a barrage of threatening messages about her and her family online.
The filings state the 43-year-old acknowledged to police that he wanted to meet the 38-year-old star of "How I Met Your Mother" and "American Pie."
RELATED: Who Said It? Funny Mom Quotes
Goodson noted that Hobbs agreed to the terms of the restraining order and that Hannigan's husband and two children also should be protected.
The actress did not attend the hearing.
Wonderwall.com goes behind the scenes at the 2015 American Music AwardsWatch Video »
In honor of the 10th anniversary of "Just Friends," check out how the stars of the film have changed.Watch Video »
Get the Duggar dish on Replay hosted by Wonderwall's Kirby Kristen.Watch Video »
Tats for Love
From Heidi Klum and Seal to Ryan Sweeting and Kaley Cuoco, see which stars got tattoos for love.Watch Video »
Shailene Woodley and the stars of "Divergent" chat phobias and on-set injuries at the film's world premiere.Watch Video »
Stars chat with Wonderwall.com on the red carpet at the 2015 American Music AwardsWatch Video »