The teacher who was arrested along with his twin brother for allegedly making explosives in a Bronx apartment was nabbed after the 15-year-old student he was reportedly having sex phoned in a bomb threat to their school, it was claimed on Saturday.

Christian Toro, 27, and his twin brother, Tyler Toro, were arrested after authorities raided their apartment early Thursday morning.

They were booked in federal court on charges related to making bombs.

Christian Toro was also charged with distributing explosive materials to a minor, according to the New York Daily News.

Authorities say that Christian Toro, a former teacher at Democracy Prep Harlem High School, paid two female students $50 an hour to dismantle fireworks and store powder in containers.

Twin brothers Christian (left) and Tyler Toro (right), 28, were arrested in New York on Thursday by the FBI after explosive materials were found in their home

A law enforcement source told the Daily News on Saturday that one of those students is a 15-year-old girl with whom Christian had a sexual relationship.

The girl called in a bomb threat to Democracy Prep on December 4. She was also arrested.

Her case will be heard in juvenile court.

Law enforcement sources told the Daily News that the bomb threat doesn’t appear to be linked to the alleged terror plot being hatched by the twin brothers.

The teenage girl who called in the bomb threat told detectives about her alleged relationship with Christian.

Christia, who was worried about what the girl would reveal to police, quit his job on January 9.

His brother, Tyler, then went to the school in Harlem and returned Christian Toro’s laptop.

After seeing the files stored on the laptop, the school called police because officials there were ‘deeply disturbed by suspicious content.’

Christian, a former high school teacher in Harlem, resigned after a student alerted the school of a bomb threat. That student was said to be involved in a sexual relationship with him. His work laptop revealed a manual on how to build explosives

That content was a digital copy of a manual on how to make bombs, according to authorities.

Christian claimed he found the bomb-making document while researching the Boston Marathon bombing.

He claimed he only meant to look at its contents and not download it, according to a complaint.

An investigation of Christian’s cell phone showed evidence of phone calls and text messages exchanged with the 15-year-old girl, investigators said.

Christian was initially arrested on January 31 for allegedly having a number of sexual encounters with the underage girl beginning in September.

A search of their home by federal authorities on Thursday revealed stock piles of bomb-building materials including 30lbs of chemicals as well as a diary that detailed plans for a potential strike.

FBI searched the home of the twins on Thursday and discovered the diary of Tyler (above) which detailed plans for a strike and details of an operation called 'Flash'

Christian denied ever building a bomb.

But on Wednesday, students at his former school told agents that he paid at least two students about $50 an hour between October and January to break up fireworks and store the powder from them.

The purpose of the bomb was not said.

The Toro apartment (above) was raided by FBI on Thursday where a stock pile of bomb-building material was found

FBI agents also found the diary of Tyler which contained alarming passages such as: 'We are twin Toros strike us now, we will return with nano thermite'.

A yellow backpack found on the scene had an index card that the handwritten message: 'Under the full moon the small ones will know terror'.

The diary also said 'Christian arrested' and 'if you're registered as a sex offender, things will be difficult. But I am here 100 per cent, living, buying weapons. Whatever we need,' according to the complaint.

The diary also mentioned throwing away evidence for an operation 'Flash'.

'When you find out I threw away all evidence [of operation code name 'Flash'] I could find in your room, I hope this doesn't turn into a scene from Goodfellas,' the diary said.

Goodfellas is a 1990 Martin Scorsese movie starring Robert De Niro, Ray Liotta and Joe Pesci that chronicles a mobster-turned-informant.