Fan is required to stay 90 metres away from Gomez and her workplace until a November 4 hearing.A judge has granted Selena Gomez a temporary restraining order from a man with a history of mental illness who police say threatened the singer-actress. Court records show the Wizards of Waverly Place star was granted the order on Thursday in Burbank, which is north of downtown Los Angeles. Thomas Brodnicki is required to stay 90 metres away from Gomez and her workplace until a November 4 hearing, when the order may be extended for three years. Gomez wrote in a sworn declaration that she is in \"extreme fear\" of Brodnicki. The filings, first reported Monday by celebrity website TMZ, say state police were notified by mental health workers that the 46-year-old had threatened to harm or kill the actress while on a psychiatric hold. Attempts to reach Brodnicki were unsuccessful.