A conversation in class about wanting to blow up their school landed two James Island Charter High School students in juvenile detention, police said.

The 14-year-old male and female students, who are not being identified, were charged Tuesday with conspiracy to commit a felony, according to Charleston Police Department spokesman Charles Francis.

A student overheard the pair talking, and the classmate told his or her parent about the conversation. The parent called the school’s main office and left a message, police said.

On Monday, the school principal told the school resource officer about the message from the parent.

School officials identified the students and removed them from the school. The students were taken to police headquarters in downtown Charleston where they were interviewed, according to police.

The school was evacuated and all scheduled afternoon programs were canceled Monday. The K-9 and explosive-device units for the police department and the Charleston County bomb squad searched the school and did not find a bomb, Francis said.

Search warrants did not turn up any devices or bomb-making materials at the students’ homes, he said. Police confiscated their computers and cellphones. The incident is still under investigation.