PEMBROKE PINES (CBSMiami) – The Pembroke Pines Police Department has arrested two Charles W. Flanagan High School students accused of making online threats to the school.

The department said they received an anonymous tip on Monday regarding an online threat of a potential shooting at Flanagan High.

READ MORE: French Forces Kill ISIS Leader Believed To Be Responsible For Sgt. La David Johnson’s Death

With no additional information to go on, the Pembroke Pines PD dispatched additional officers to local schools on Tuesday as they continued to investigate.

Digging through social media, investigators found an Instagram post with a text threatening to “terrorize” Flanagan High.

The department’s Threat Assessment Team and school resource officers identified the 16-year-old Flanagan student reportedly behind the post.

READ MORE: COVID Booster Shot Confusion Ahead Of FDA Advisory Committee Meeting

The teen was taken into custody on Thursday. He’s being charged with second-degree felonies for making a written threat to do bodily and for knowingly causing the disruption of an educational institution.

The Threat Assessment Team then identified and arrested a 15-year-old in connection to the case. The teen is facing the same charges.

The department is urging “all parents to please take this moment and speak with your children as to the severe consequences for making threats to do harm, while encouraging that they report threats of which they are made aware.”

MORE NEWS: Rodney Rodriguez, Driver In High-Speed Crash That Killed 3, Finally Booked Into Jail

Stay with CBSMiami.com for updates on this developing story.