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: Santa Pays Special Visit To Patients At Holtz Children's Hospital

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: 16-Year-Old Girl Charged With Making Threats Against Miami Northwestern Senior High

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: FPL Bills To Go Up Due To Fuel Costs

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