People gather by booths near some of the signage in the hallways outside of the exhibit halls at the NRA Annual Meeting held at the George R. Brown Convention Center Thursday, May 26, 2022, in Houston. (AP Photo/Michael Wyke)

Texas Gov. Greg Abbott is backing out of a scheduled in-person appearance at the National Rifle Association’s convention in Houston on Friday and will travel to Uvalde, where a gunman killed 19 children and two teachers days earlier in the state’s worst school shooting in history. He will instead give prerecorded remarks to be played at the convention.

Abbott’s decision, provided by a spokesperson for his office, comes after the massacre reignited a national debate about firearm access — and renewed criticism of Republican officials who have long resisted and blocked attempts to strengthen gun control laws in a country where mass shootings have become frequent.

The governor drew criticism this week for attending a fundraiser the night of the shooting. On Wednesday, Abbott was confronted at a press conference about the Uvalde shooting by his Democratic opponent in November, Beto O’Rourke, who said, “This is on you.”

Abbott’s decision to not attend the NRA convention in-person answers extensive speculation over whether the pro-gun Texas leader would still show up days after the shooting. O’Rourke and NAACP president Derrick Johnson told Abbott to skip his appearance.

Former President Donald Trump confirmed Wednesday that he would attend the event, promising to “deliver an important address to America.” Firearms are banned in the room during Trump’s speech.

On Wednesday, the governor said that he was “living moment to moment” and did not give a direct answer when asked whether he would attend the event.

Beyond Abbott, Lt. Gov. Dan Patrick, U.S. Sens. John Cornyn and Ted Cruz, and U.S. Rep. Dan Crenshaw of Houston were initially scheduled to attend the convention. Patrick has not publicly commented on his plans. Both Cornyn and Crenshaw backed out of the event, citing scheduling conflicts that arose before Tuesday.

Cruz, though, stood firm in his commitment to attend.

“I’m going to be there because what Democrats and the press try to do in the wake of every mass shooting is they try to demonize law-abiding gun owners, try to demonize the NRA,” Cruz told a CBS reporter.