BAKER — A 17-year-old student at Baker School was arrested Friday for making threatening comments in a message on social media to another student, according to the Okaloosa County Sheriff’s Office.

The boy faces a second-degree felony charge of making a false report about planting a bomb, explosive or weapon of mass destruction or concerning the use of firearms in a violent manner, a news release from the Sheriff’s Office said.

The boy sent a message to another student about two weeks ago in which he was holding what appeared to be a rifle. At the time the photo was sent, the two students were friends, but they have recently begun to argue about a girl.

The boy made recent comments in a separate message about possibly purchasing the weapon and using it to harm another student and his or her family, the release said.

The student told Baker School resource officers that he sent the messages but never intended to harm anyone.

The Sheriff’s Office has a zero tolerance policy to threats, according to the release. The student was turned over to the Department of Juvenile Justice.