UVALDE, Texas -- Pete Arredondo, the Uvalde school district's police chief, has stepped down from his position in the City Council just weeks after being sworn in following allegations that he erred in his response to the mass shooting at Robb Elementary School that left 19 students and two teachers dead.
The Uvalde city manager's office tells ABC News the "city council just received Pete Arredondo's written resignation."
"After much consideration, it is in the best interest of the community to step down as a member of the City Council for District 3 to minimize further distractions," Arredondo said in part in his resignation letter.
The letter was dated July 1.
He had been elected to the council a few weeks before the May 24 school shooting. He took the oath of office in secret and has not attended any of the council meetings since.
Arredondo, who has been on administrative leave from his school district position since June 22, has declined repeated requests for comment from The Associated Press. His attorney, George Hyde, did not immediately respond to emailed requests for comment Saturday.
On June 21, the City Council voted unanimously to deny Arredondo a leave of absence from appearing at public meetings. Relatives of the shooting victims had pleaded with city leaders to fire him.
Representatives of Uvalde Mayor Don McLaughlin have not responded to AP's requests for comment.
Col. Steven McCraw, director of the Texas Department of Public Safety, told a state Senate hearing last month that Arredondo - the on-site commander - made "terrible decisions" as the massacre unfolded on May 24 , and that the police response was an "abject failure."
Three minutes after 18-year-old Salvador Ramos entered the school, sufficient armed law enforcement were on scene to stop the gunman, McCraw testified. Yet police officers armed with rifles stood and waited in a school hallway for more than an hour while the gunman carried out the massacre. The classroom door could not be locked from the inside, but there is no indication officers tried to open the door while the gunman was inside, McCraw said.
McCraw has said parents begged police outside the school to move in and students inside the classroom repeatedly pleaded with 911 operators for help while more than a dozen officers waited in a hallway. Officers from other agencies urged Arredondo to let them move in because children were in danger.
"The only thing stopping a hallway of dedicated officers from entering room 111 and 112 was the on-scene commander who decided to place the lives of officers before the lives of children," McCraw said.
Arredondo has tried to defend his actions, telling the Texas Tribune that he didn't consider himself the commander in charge of operations and that he assumed someone else had taken control of the law enforcement response. He said he didn't have his police and campus radios but that he used his cellphone to call for tactical gear, a sniper and the classroom keys.
It's still not clear why it took so long for police to enter the classroom, how they communicated with each other during the attack, and what their body cameras show.
Officials have declined to release more details, citing the investigation.
Arredondo, 50, grew up in Uvalde and has spent much of his nearly 30-year career in law enforcement in the city.
ABC News contributed to this report.