Updated

Justin Bieber's girlfriend Selena Gomez has received a death threat that is so serious the LAPD's Threat Management Unit is on the case, and Selena has obtained a restraining order, TMZ has learned.

Thomas Brodnicki, a man with a criminal history of stalking, allegedly told his shrink he was going to kill Selena.

HOT SHOTS: Selena Gomez

According to the declarations of Selena and her lawyer, Blair Berk, Brodnicki told the shrink he traveled from Chicago to L.A. to meet her, visited her workplace at least 3 times and has told people he had conversations with God about killing her Selena says she is in "extreme fear," believing he will carry out his death threat against her if he isn't stopped.

Brodnicki was picked up for mental evaluation last month for allegedly threatening to "scratch people's eyes out on the street." While he was being held for mental evaluation, he made the threats to the shrink.

According to court docs, LAPD detectives are taking the threats "extremely seriously" because of Brodnicki's history of mental illness and making criminal threats.