9/14/2018 1:41 PM PDT

Taylor Swift has had a stalker for 2 years and his threats have been horrifying ... he has threatened to kill and rape her, and he boasts no one can stop him from doing it.

Taylor just got a restraining order against 26-year-old Eric Swarbrick, who has been sending Taylor letters since Sept. 2016. Among the letters sent by the Tennessee resident ...

-- "I want to rape Taylor Swift. This is why I hate Taylor herself ... This is how I know I am Taylor's soulmate."

-- "I have learned to absolutely repress the metaphorical monster in me, but, very soon, I will become completely responsible for myself ... What logical conclusion is there other than death."

-- "I will not hesitate to kill her ... and there's nothing you, your lawyers, or the law will be about to do about it. Remember who I am."

According to legal docs filed by Taylor's lawyers, the letters have become increasingly alarming over the last few months, and it's caused stress, fear and anxiety. The lawyers say there is a real worry Swarbrick will make good on his threats.

The judge ordered Swarbrick to stop contacting her immediately, and he's not allowed to go near her or her property.

ABOUT TMZ

CONTACT TMZ

Telepictures and Warner Bros. Entertainment Inc.
may use my email address along with my interests and device data to send me tailored email and other offers
through social media or other sites and apps.

Yes! Telepictures and Warner Bros. Entertainment Inc. may also share those details
with WB/Time Warner
Affiliates so they may send me tailored email and other offers.
Telepictures and Warner Bros. Entertainment Inc. are requesting this consent on behalf of their affiliates,
which will use the information under their respective privacy policies.

Opt out at any time by sending email to
privacy@wb.com, by
mail to "Privacy Group, Warner Bros., 4000 Warner Blvd, Burbank, CA 91522," or by
unsubscribing via a link in the email. By submitting my email address, I agree to the
Terms of Service and I acknowledge
that I have read and understand the Privacy Policy.