Puerto Rico Governor Ricardo Rossello announced his resignation after days of mass street protests in the United States
Mr Rosello, who only insisted he would stay on Sunday, said he would continue working until August 2 to allow an orderly transition.
He is at the center of a scandal with a group text message that has already led two senior officials to resign.
Leaked messages revealed sexist, secular and homophobic comments. ] Image Inscription
The chat containing 880 pages of exchange between the governor and 1
What did Governor Rossel say?
] Recorded a video that was broadcast on Wednesday evening.
"I announce that I will retire from the post of governor on Friday, August 2nd at 5:00 pm," said Mr. Rosella.
"I believe that in order to continue in this position, it will make my success more difficult
The announcement of Mr. Rosselio has caused celebrations on the streets of the capital San Juan
On Monday hundreds of thousands of people went out on the streets, demanding the immediate resignation of Mr. Rosselio
The 40-year-old governor is the leader of the New Progressive Party, a Puerto Rican political party that advocates US statehood.
On Sunday, in an attempt to calm the protestors, he said he would not seek re-election next year.
"I hear you," said Mr. Rossello in a video on Facebook. "I made mistakes and apologized."
"I know the apology is not enough," he added.
What are the secret messages?
Some of the texts ridicule the victims of Hurricane Maria, devastating an island in 2017, and may have led to more than 4000 deaths.
In one case, Mr. Rossello criticized former President of the New York City Council, Melissa Mark-Viverito, saying that people should "beat that whore."
When the main fiscal office on the island writes that the San Juan Mayor is "spit on fire", Mr Rosella replied, "You will do me a great favor."
What is the reaction of the scandal? ] Puerto Rico spoke not only as a loud, broad and unified voice, but as the right voice, "says the editorial. "With a gesture of nobility and humility, governor, it is time to listen to people, you have to resign."
The mayor of San Juan Carmen Yulin Cruz said on Monday on Twitter: "They can not deny it
Singer Ricky Martin, who was targeted in the secret messages, was among those who called for the governor to resign, as well Hamilton creator Lin-Manuel Miranda and reggie star Bad Bunny 19659041] Bad Bunny stops the tour to protest in Puerto Rico
"They mocked our dead, mocked women, mocked the LGBT community, mocked people with physical and mental disabilities, laughing at obesity. That can not be, "said Martin in a video on Twitter.
The island's political crisis has also become titles in the continental United States. Many reflect the New York Times editorial board, which states that the "heartlessness and guerrilla self-government" exposed by the messages serve as excessive pressure for the long-suffering island, effectively "frictioning salt in a long-term wound". "People from Puerto Rico do not benefit from petty political feuds," the New York Times writes. "Their territory is struggling with the burden of government corruption, incompetence and indifference, and since they have been broken by their leaders on all levels, they have lost patience, they deserve better."
US President Donald Trump also called on the governor. to resign.