Cassie Randolph has been granted a temporary restraining order against Colton Underwood.

The 25-year-old filed the request against Underwood, whom she met on season 23 of "The Bachelor," on Friday.

According to court documents obtained by ABC News, Underwood must stay at least 100 yards from Randolph, her home, her vehicle, her job and her school. She also requested in the temporary restraining order request that Underwood stay at least 100 yards away from her parents' home in Huntington Beach, California.

The documents list the date of the former couple's split as mid-April 2020. They publicly revealed their separation in Instagram posts on May 29.

Randolph claimed Underwood stalked and harassed her and sent her "unsettling" text messages. She also claimed in the court filing that Underwood placed a tracking device on her vehicle.

She also alleged that Underwood admitted to her and to their mutual friends that he did place a tracking device on her car vehicle. She claimed in the court filing that Underwood also admitted to her that he had been calling and sending text messages to her from alias phone numbers.

The court filing also includes text messages Underwood allegedly sent to Randolph anonymously.

One includes: "You like playing games huh? Let's play some games then. Let's just say we used to be family friends...You'll have nothing but regrets later with how you treat people."

The temporary restraining order prevents Underwood from contacting Randolph "directly or indirectly" and remains in place pending a full hearing scheduled for Oct. 6.

Underwood and Randolph did not return requests for comment.