Following weeks of unrest amid a corruption scandal and damning text messages, Puerto Rico Governor Ricardo Rossello announced his resignation on Wednesday in a videotaped address which aired just before Midnight.

After discussing his "laundry list of accomplishments," Rossello said he 'did his best,' and 'worked during vacations, weekend and long days to make Puerto Rico more just.' His resignation will take effect August 2nd.

Now he’s talking about hurricanes Irma and Maria and praising his response to it. — claudia irizarry aponte (@clauirizarry) July 25, 2019

He just announced his resignarion effective August 2, 2019. — claudia irizarry aponte (@clauirizarry) July 25, 2019

Rossello's resignation comes days after thousands of demonstrators took to the streets of Old San Juan, calling for his ouster.

Following the announcement, crowds broke out into celebration, exclaiming "Ricky, te botamos!" ("Ricky, we threw you out!").

Demonstrators chant slogans as they wave Puerto Rican flags during ongoing protests calling for the resignation of Governor Ricardo Rossello in San Juan, Puerto Rico July 24, 2019.Marco Bello / Reuters

"After the birth of my son, this is the happiest day of my life," said Puerto Rican reggaton star René Pérez Joglar, also known as Residente. Joglar released a song last week calling for protesters to take to the streets, rapping "This is coming out early so you can eat it for breakfast ... Sharpening the knives. Fury is the only political party that unites us."

As we noted last week, protesters broke past a barricade at the governor's mansion on Wednesday, resulting in the deployment of tear gas. "By early hours Thursday, the old city of San Juan resembled a war zone, with police chasing protesters through the streets while firing rubber bullets, gas canisters and what appeared to be flash bombs," according to NPR.