Jennifer Garner has won a restraining order from a man she says has been stalking her for years.
An attorney for the actress appeared in a Los Angeles courtroom Thursday morning and won three years of protection for Garner, husband Ben Affleck and their daughter, Violet.
Garner petitioned for protection earlier this month from Steven R. Burky, 36, who she says has been harassing her since 2002.
Garner wrote in a sworn statement that she believed Burky’s “obsessive, threatening and stalking behavior” posed a threat to her and her family.
The former star of the television series “Alias,” Garner has also appeared in recent films such as “Juno” and “The Kingdom.”