(Bloomberg) -- The 18-year-old gunman who killed 19 children and two teachers at a school in Uvalde, Texas, warned about his plans in social media posts in the minutes before the attack, according to Governor Greg Abbott.

The gunman, Salvador Ramos, posted on Facebook that he was going to shoot his grandmother, then posted that he had done it, Abbott told journalists Wednesday in Uvalde. Ramos then posted that he was going to shoot an elementary school, Abbott said.

After the gunman shot his grandmother, she called police who pursued the gunman to the school, where he crashed his truck, then got out and went inside. After shooting children and school staff members, he barricaded himself in a classroom and was shot dead by a Border Patrol agent.

Andy Stone, a spokesperson for Facebook parent Meta Platforms Inc., sought to clarify Abbott’s assertion that the gunman’s comments online were public posts.

“The messages Gov. Abbott described were private one-to-one text messages that were discovered after the terrible tragedy occurred,” Stone wrote on Twitter. “We are closely cooperating with law enforcement in their ongoing investigation.”

Meta is still reeling from fallout related to the trove of internal documents that whistle-blower Frances Haugen shared with journalists and authorities that suggested Facebook prioritizes profit over content moderation. The US Congress and federal enforcement agencies have spent the last several years formulating their own plans to hold Facebook to account, with little action so far.

 

(Updates with Meta comment starting in fourth paragraph.)

©2022 Bloomberg L.P.