Puerto Rico Gov. Ricardo Rosselló is expected to resign Wednesday after nearly two weeks of widespread protests sparked by the publication of offensive chat messages with advisers, several of whom have already stepped down, according to reports.

The embattled governor plans to deliver a farewell announcement that will be broadcast before noon, sources told local newspaper El Nuevo Día.

Rosselló will apparently be replaced by Justice Secretary Wanda Vázquez, whom protesters reject because of her ties to him, according to the news outlet.

Normally, the next person in line would be the secretary of state, but the position has been vacant since the recent resignation of Luis Rivera Marín.

Protesters had cheered reports of Rosselló’s imminent departure late Tuesday but warned that it would not end the demonstrations now entering their 12th day.

The demonstrations were sparked by the publication on July 13 of chat messages in which Rosselló and advisers used profane language to describe female politicians and openly gay Puerto Ricans like Ricky Martin.

The governor also has been hammered over his handling of 2017’s Hurricane Maria, alleged corruption in his administration and the island’s bankruptcy process.

Several of his closest aides have resigned over the scandal, including his chief of staff, Ricardo Llerandi, who handed in his resignation on Tuesday amid concerns for the safety of his family after threats.

His resignation is effective July 31.

On Tuesday, Puerto Rican officials executed search warrants for the mobile phones of Rosselló and 11 of his aides involved in the leaked Telegram message group chats.

So far, only Llerandi has said he turned in his phone, according to Reuters.

Justice Department spokeswoman Mariana Cobian declined to say whether Rosselló had surrendered his phone.

Puerto Rico’s Justice Department first demanded the phones on July 17 as part of its probe into the chat scandal — nicknamed “Rickyleaks.”

Rosselló, 40, a first-term governor in his first elected office, has resisted calls to step down as leader of the US territory and its 3.2 million residents, though he has vowed not to seek re-election in 2020.

“The people are talking and I have to listen,” Rosselló said in a statement Tuesday after apologizing several times for the chats and asking Puerto Ricans to give him another chance.

But the island’s leading newspaper, prominent Democratic officials and President Trump have all called on Rosselló to step down.

“He’s a terrible governor. You have totally grossly incompetent leadership at the top of Puerto Rico,” Trump said at the White House on Monday.