Embattled Puerto Rican Gov. Ricardo Rosselló will nominate former U.S. Rep. Pedro Pierluisi as the island's secretary of state, effectively making him next in line to lead the U.S. territory after Rosselló resigns Friday, an island lawmaker said.

Rep. José Meléndez said word of Pierluisi's nomination was shared with lawmakers by the president of the island's House of Representatives. The lawmakers were asked to meet in a special session.

Pierluisi, 60, was defeated by Rosselló in the 2016 primaries for the pro-statehood New Progressive Party. He previously served as the island's non-voting representative in Congress from 2009 to 2017.

PUERTO RICO'S GOVERNOR TO RESIGN AMID PROTESTS OVER LEAKED OBSCENE ONLINE CHATS

In this Sept. 24, 2013,  photo, Pedro Pierluisi, Puerto Rico's representative in Congress, speaks during a conference in San Juan, Puerto Rico.  (AP Photo/Ricardo Arduengo, File)

In this Sept. 24, 2013,  photo, Pedro Pierluisi, Puerto Rico's representative in Congress, speaks during a conference in San Juan, Puerto Rico.  (AP Photo/Ricardo Arduengo, File)

If approved, Pierluisi will be poised to become the next governor after Rosselló relinquishes his post after a mushrooming scandal and two weeks of protests calling for his ouster. It's not clear whether Pierluisi has the support of lawmakers necessary for confirmation.

Meléndez and other members of Rosselló's party have said they will not vote in his favor because he works for a San Juan-based law firm that represents the federal control board overseeing Puerto Rico's finances.

PUERTO RICO GOVERNOR TELLS FOX NEWS HE 'ASSUMES RESPONSIBILITY' FOR ACTIONS IN FIRST ONE-ON-ONE INTERVIEW SINCE SCANDAL BEGAN

"That's a serious conflict of interest," Meléndez said.

Wanda Vazquez, the secretary of justice and a Rosselló ally, was next in line to govern the island, but said Wednesday she didn't want the job after protesters made it known they would not back her.

According to Puerto Rico's order of succession, the secretary of state is the next in line after the governor.

Rosselló's imminent exit follows two weeks of protests inspired by the leaking of crude and insulting online chats. The conversations reportedly saw Rosselló mocking victims of Hurricane Maria, women, political opponents and gay people.

CLICK HERE TO GET THE FOX NEWS APP

The island's former secretary of state, Luis G. Rivera Marín, resigned soon after the messages became public.

The scandal, along with the arrests of former officials in an FBI corruption probe, has galvanized the island, with many calling for an end to years of corruption and crippling austerity measures. Lawmakers are trying to restructure billions of dollars of debt owed by the island, and to secure aid for the ongoing recovery from the 2017 hurricane.

The Associated Press contributed to this report.