The drama between Rob Kardashian and Blac Chyna just took a scary turn.

Chyna appeared in court on Monday, July 10 with her attorney Lisa Bloom to request a restraining order against her ex-fiancé after he went on a revenge porn attack against her last week. A Los Angeles judge granted her request on the basis that he had allegedly been physically violent with her in the past and he even threatened suicide on multiple occasions.

rob kardashian blac chyna instagram

Rob Kardashian celebrated his first Father’s Day last month with Blac Chyna and their daughter Dream. (Photo Credit: Instagram)

MORE: Blac Chyna Finally Speaks Out About Her Rob Kardashian Feud, Admits She Was “Devastated” by His Revenge Porn

“I take his threats seriously because he showed me his gun at his house,” Chyna revealed in a statement obtained by People. “In one text, Rob said, ‘So I can at least die with knowing” and then followed-up with a question. In another text, Rob said, ‘That’s why I can’t do this and it’s killing me to the point where I don’t even have a purpose.'”

https://twitter.com/robkardashian/status/882690660037529600

In his alleged messages, Rob seemed to echo the same sentiments that he conveyed in a series of tweets on Wednesday, July 5 on Twitter, after his Instagram account was shut down because he repeatedly posted nude photos of the mother of his eight-month-old daughter, Dream. In the text messages, he accused Chyna of getting pregnant by him because she wanted to get back at Tyga — her ex-fiancé who left her for Rob’s younger sister Kylie Jenner — and he also swore on his daughter’s life that he would “be gone for life.”

MORE: Did Blac Chyna Have a Threesome With T.I. And Tiny? Rob Kardashian Tells All!

“I have been telling Rob to get help and go to therapy since June 2016. To my knowledge, Rob has not seen a licensed therapist,” Chyna’s statement continued. “I am in fear of this angry, volatile, vindictive man, who has physically attacked me and tried to humiliate me so publicly. I am embarrassed by his posts. I ask for orders of protection so that I can live my life in peace and free of fear of him.”