Former Texas high school teacher Tanya Ramirez says that after exchanging more than 300 text messages over three-and-a-half weeks with a 17-year-old student at the school where she worked, she invited him to her house and they had sex. The 31-year-old claims the teen pursued her and it was 100 percent consensual.

WATCH: Teacher Who Slept With High School Student: 'I Didn't Think It Was Legally Wrong'

In the video above, Dr. Phil reviews some of the text message exchanges between Ramirez and the student leading up to their sexual encounter on May 30, 2014.

WATCH: Teacher and Student Recall Night They Had A Sexual Encounter

Ramirez, who pleaded guilty to an improper relationship between teacher and student, maintains that she didn’t act inappropriately.

On Monday’s episode of Dr. Phil, Ramirez and the teen come face to face for the first time since the night of their encounter. And, find out why she is now suing the teen and his mother. Check here to see where you can watch.