SAN JUAN, Puerto Rico — The woman who is supposed to replace Puerto Rico’s embattled governor announced Sunday that she doesn’t want the job as the U.S. territory reels from political crisis.

Justice Secretary Wanda Vázquez said in a Twitter post that she hopes Gov. Ricardo Rosselló will appoint a secretary of state before resigning Aug. 2 as planned.

Former Secretary of State Luis Rivera Marín would have been next in line as governor, according to the U.S. territory’s constitution. But he is one of more than a dozen officials who have resigned in recent weeks since someone leaked an obscenity-laced chat in which Rosselló and close advisers insulted people including women and victims of Hurricane Maria.

Rosselló on Wednesday announced that he would step down following nearly two weeks of massive protests amid anger over the chat, corruption charges against several former government officials and a 13-year recession.

Marín’s resignation had left Vázquez as next in line to be governor. But she said she has already told Rosselló about her wishes, creating a chaotic scenario about who will be Puerto Rico’s next leader.

If Rosselló choice for a secretary of state is not approved by the island’s House and Senate, Puerto Rico’s law dictates the treasury secretary would be next in line if the justice secretary doesn’t become governor. But current Treasury Secretary Francisco Parés is too young at 31 years old. The constitution dictates the person would have to be at least 35, so that would leave interim Education Secretary Eligio Hernández next in line. He replaced former education secretary Julia Keleher, who resigned in April and was arrested July 10 on federal corruption charges. She has pleaded not guilty.

Vázquez’s comments came less than an hour after Public Affairs Secretary Anthony Maceira resigned.

“There were many challenges that we had to face together as Puerto Ricans, although sometimes we differed,” he said. “The work of each one of us must continue with the welfare of our island and its people as its north.”

The announcement comes a day before Puerto Ricans planned another march, this time against Vázquez, who is accused of not ordering an investigation into the alleged mismanagement of supplies for hurricane victims, among other things.

A spokeswoman for Vázquez did not immediately return a message for comment.

Aimara Pérez, a 32-year-old drafter who participated in some of the most recent marches, said she did not want Vázquez as governor.

“We’re going to keep protesting,” she said. “It’s not going to stop. If there is evidence of corruption, the people are going to push ahead without fear, and we’re going to get rid of them all.”