An Indiana teacher was arrested and charged Wednesday with felony drug possession and misdemeanor paraphernalia after she was caught on camera "snorting cocaine" in the classroom. Some students of Lake Central High School in St. John, Indiana, filmed 24-year-old Samantha Cox using drugs in her classroom.

The student witnesses contacted school administrators after they saw the teacher sniffing some white powdery substance. Police later said that the substance was a mixture of cocaine and heroin. Cox, an English teacher, who was being held in the Lake County Jail was later released after posting $1,000 bond. 

A video shared on social media shows Cox alone in a classroom, hunched over a book in her lap. Students thought Cox was making lines of cocaine and informed authorities at the school. Cox did not know she was being filmed through the window pane in the door. Another video shows a handcuffed woman being taken out of school by police.

"She tried to hide," student John Rogers, who said he recorded the video that went viral, told CBS Chicago. "She wasn't at her desk where we could see her. She was all the way in the corner where she thought we can't see her."

Another student, Michael Sanchez, said: "It is like a serious thing. A lot of people can get addicted to a lot of things, and something like this is, it's very heart-breaking."

In a statement, St. John Chief James Kveton said the students showed "a tremendous amount of fortitude and integrity" by going directly to the principal.

Parents received a robocall from the school district informing them that authorities had taken immediate action against Cox.

"What I would tell you is that the school received information, worked cooperatively with St. John and Dyer police, and responded to the situation swiftly," Lake Central Superintendent Larry Veracco told the Northwest Indiana Times.