Courtney Gains has been ordered to stay away from his ex-girlfriend over allegations he harassed her following their split.

Kelley Marie Pospisil has been granted a protective order against the Children of the Corn star after claiming he bombarded her with cell phone text messages when their two-year romance came to an end.

In court papers, she writes, "I am scared that (Gains) may be following me... (his) behavior is terrifying and making me fearful of my life."

A follow-up hearing has been set for August 21st.