(CBS/AP) A judge granted Selena Gomez a three-year restraining order against the man accused of threatening to kill the singer-actress and of traveling from Illinois to try to meet her.

Pictures: Stars who were stalked

Superior Court Judge William D. Stewart ordered the “Wizards of Waverly Place” star’s accused stalker, Thomas Brodnicki, to stay away from the starlet. He is not allowed to attempt to contact her.

Another judge dropped a felony stalking charge against Brodnicki, 사이판 카지노 후기 46, last year after determining prosecutors hadn’t proved he had caused fear in the star. Stewart twice delayed issuing a civil order until Brodnicki had an opportunity to respond.

Gomez, 19, did not appear at the hearing. She wrote in a declaration filed in October that she was in extreme fear after learning that Brodnicki had threatened to kill her while he was on a psychiatric hold.

Prosecutors later alleged he stalked the actress between July and October.

Stewart noted that Brodnicki filed a declaration in December essentially consenting to the protective order and that the man with a history of mental illness had received “due process.” He said Gomez had reasonable cause to be afraid of Brodnicki, who did not attend Friday’s hearing.

The order also covers Gomez’s family.