(CNN) — A woman who says a female teacher from middle school sexually abused her for years decided to confront the teacher — and post video of the exchange on YouTube.

Within hours, the educator resigned from her job at another school in California. Police launched an investigation. And the former student, who once felt powerless, now says she feels vindicated knowing the ex-teacher is no longer working with children.

The former student, who calls herself “Jamie,” said the abuse started when she was 12 years old.

“I am 28 years old and have been waiting years to get up enough courage to report a teacher for sexually abusing me for years,” Jamie’s caption on her YouTube video states.