Representational image of a handcuffed man. SERGEI SUPINSKY/AFP/Getty Images

A Pennsylvania high school music teacher was accused of having sex with a student inside his office and repeatedly supplying two girls with marijuana edibles. Jeremiah Triplett, 30, appeared in front of a judge Wednesday morning.

The teacher of Archbishop Carroll High School in Radnor was charged with institutional sexual assault and unlawful contact with a minor among other counts. A police investigation against Triplett was launched after authorities received a tip-off in March that a teacher gave pot-laced edibles — including brownies and gummy bears infused with tetrahydrocannabinol — to two female students.

According to reports, it was later revealed that he brought the drug-laced edibles, as well as “shopping bags” of mini liquor bottles, to school to share with the teens. One of the girls told police that Triplett brought them treats called “firecrackers,” or crackers topped with THC-infused Nutella spread, according to a criminal complaint.

Triplett also vaped nicotine products with the girls and they regularly blew exhaled smoke into each other’s mouths.

“[Triplett] used his position of trust and authority as a teacher to prey on students and endangered their health by providing them with THC infused food,” Delaware County District Attorney Katayoun Copeland said in a statement.

According to the criminal complaint, obtained by the New York Post, one of the teens insinuated she had sex with Triplett and that the alleged sex acts took place in his office.

Triplett, who was arraigned Wednesday, was placed on leave by Archbishop Carroll High School in April.

The accused was ordered to avoid communicating with the alleged victims, avoid contact with minors unless under the supervision of an adult 21 years of age or older, banned from Archbishop Carroll High School and had to surrender his passport, according to his arraignment.

“It’s heartbreaking for everybody involved,” one parent of a student at the school told local station WCAU. “All my kids have had contact. We’ve all had contact from the school and the parish and I never had any indication or any feeling whatsoever that anything wasn’t right.”

After his arraignment, Triplett's attorney Brian McVan said: "Sad and difficult day for everybody that's involved, we don't have any further comment. We'll certainly study the evidence and may something later."

A spokesperson for the Archdiocese of Philadelphia also reportedly released a statement.

"Prior to beginning employment at Archbishop Carroll, Mr. Triplett obtained clear criminal record checks as well as child abuse clearances," the spokesperson wrote. "In addition, he completed mandatory safe environment training programs."