PORTER, Texas – A teacher with the New Caney Independent School District resigned after she was accused of having an inappropriate relationship with a student, officials said.

Rhiannon Petty, 41, faces an improper relation between educator and student charge. According to court documents, on or about Feb. 6, a complaint was filed by the student’s parents that Petty and the girl were outside of the school acting as if they were a “couple.”

After further investigation and cellphone evidence, officials found probable cause against Petty, which led to her arrest, according to court documents.

New Caney ISD said Petty was employed with the district for four years and was placed on administrative leave while the investigation was pending but she later resigned.

In a statement, New Caney ISD said it that student safety was the district’s top priority.

“The district is fully cooperating with the Montgomery County District Attorney’s office and cannot comment further as this is an active investigation,” district officials wrote.