1.1136406-2062148818
Actress Mila Kunis attends Walt Disney Studios: "Frankenweenie," "Wreck It Ralph" and "Oz" during Comic-Con International 2012 held at the Hilton San Diego Bayfront Hotel in San Diego, California Image Credit: AFP

Los Angeles County prosecutors say a 27-year-old man has been ordered stay away from “That 70s Show” and “Black Swan” actress Mila Kunis for 10 years after pleading no contest to stalking her.

Spokeswoman Jane Robison says Stuart Dunn entered his plea on Tuesday and was also ordered to complete six months of residential rehab and placed on five years of felony probation.

Dunn has repeatedly been arrested in his pursuit of Kunis.

In February, he was arrested for breaking into her vacant condo, and authorities arrested him again in May, after he waited for her outside her gym for three days.

Superior Court Judge George Lomeli also gave Dunn credit for 528 days he spent in jail.

Dunn was also ordered to stay away from Kunis' agents, managers and assistants.