Pedro Pierluisi, sworn in as Puerto Rico's governor, speaks during a press conference, in San Juan, Puerto Rico, Friday, Aug. 2, 2019. Departing Puerto Rico Gov. Ricardo Rossello resigned as promised on Friday and swore in Pierluisi, a veteran politician as his replacement, a move certain to throw the U.S. territory into a period of political chaos that will be fought out in court. Pierluisi is flanked by lawmakers Jorge Navarro, left and Jose Aponte.  (AP Photo/Dennis M. Rivera Pichardo)
PHOTO: Dennis M. Rivera Pichardo/AP
Pedro Pierluisi, sworn in as Puerto Rico's governor, speaks during a press conference, in San Juan, Puerto Rico, Friday, Aug. 2, 2019. Departing Puerto Rico Gov. Ricardo Rossello resigned as promised on Friday and swore in Pierluisi, a veteran politician as his replacement, a move certain to throw the U.S. territory into a period of political chaos that will be fought out in court. Pierluisi is flanked by lawmakers Jorge Navarro, left and Jose Aponte. (AP Photo/Dennis M. Rivera Pichardo)
Now playing
02:31
Opponents question legitimacy of new Puerto Rico governor
Now playing
01:21
Lawmaker fires back at Tucker Carlson's QAnon spin
Sen. Lisa Murkowski (R-AK) asks a question at a hearing of the Senate Health, Education, Labor and Pensions Committee on September 23, 2020 in Washington, DC.
PHOTO: Alex Edelman/Pool/Getty Images
Sen. Lisa Murkowski (R-AK) asks a question at a hearing of the Senate Health, Education, Labor and Pensions Committee on September 23, 2020 in Washington, DC.
Now playing
01:40
Trump plans to campaign against Sen. Murkowski in 2022
Biden 03062021
PHOTO: CNN
Biden 03062021
Now playing
02:28
'Help is on the way': Biden speaks after Senate passes relief plan
Now playing
03:04
Schumer: Nobody said it would be easy, but it is done
01 senate stimulus bill 210306
PHOTO: Senate TV
01 senate stimulus bill 210306
Now playing
01:47
Senate passes Biden's $1.9 trillion Covid-19 relief bill
WASHINGTON, DC - MARCH 05: Sen. John Cornyn (R) (R-TX) talks with Sen. Joe Manchin (D-WV) while walking to the U.S. Senate chamber for a vote March 05, 2021 in Washington, DC. The Senate continues to debate the latest COVID-19 relief bill.  (Photo by Win McNamee/Getty Images)
PHOTO: Win McNamee/Getty Images
WASHINGTON, DC - MARCH 05: Sen. John Cornyn (R) (R-TX) talks with Sen. Joe Manchin (D-WV) while walking to the U.S. Senate chamber for a vote March 05, 2021 in Washington, DC. The Senate continues to debate the latest COVID-19 relief bill. (Photo by Win McNamee/Getty Images)
Now playing
02:54
Axelrod breaks down Manchin's surprising move
sinema
PHOTO: CNN
sinema
Now playing
01:50
Senator's move has many on the internet outraged
PHOTO: FBI
Now playing
02:58
Trump State Department official charged in Capitol riot
WASHINGTON, DC - JANUARY 06: U.S. Sen. Paul Gosar (R-AZ) speaks on the floor of the House Chamber during a joint session of congress on January 06, 2021 in Washington, DC. Congress held a joint session today to ratify President-elect Joe Biden's 306-232 Electoral College win over President Donald Trump. A group of Republican senators said they would reject the Electoral College votes of several states unless Congress appointed a commission to audit the election results. (Photo by Drew Angerer/Getty Images)
PHOTO: Drew Angerer/Getty Images
WASHINGTON, DC - JANUARY 06: U.S. Sen. Paul Gosar (R-AZ) speaks on the floor of the House Chamber during a joint session of congress on January 06, 2021 in Washington, DC. Congress held a joint session today to ratify President-elect Joe Biden's 306-232 Electoral College win over President Donald Trump. A group of Republican senators said they would reject the Electoral College votes of several states unless Congress appointed a commission to audit the election results. (Photo by Drew Angerer/Getty Images)
Now playing
02:19
This is what Rep. Gosar was posting days before Capitol riot
John King Magic Wall 0305
PHOTO: CNN
John King Magic Wall 0305
Now playing
02:17
President Biden sending a team to the US-Mexico border
Senior Advisor to the President Jared Kushner  attends a press conference on September 4, 2020, in the Brady Briefing Room of the White House in Washington, DC. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
PHOTO: BRENDAN SMIALOWSKI/AFP/AFP via Getty Images
Senior Advisor to the President Jared Kushner attends a press conference on September 4, 2020, in the Brady Briefing Room of the White House in Washington, DC. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
Now playing
02:50
Jared Kushner disappears from Trump's inner circle
Rep john garamendi 0305
PHOTO: CNN
Rep john garamendi 0305
Now playing
02:33
Rep. Garamendi: Any lawmaker involved in Capitol riots ought to be thrown out of Congress
Protesters gather at Lincoln Park to demand the Emancipation Memorial be taken down on June 23, 2020 in Washington, DC.
PHOTO: Tasos Katopodis/Getty Images
Protesters gather at Lincoln Park to demand the Emancipation Memorial be taken down on June 23, 2020 in Washington, DC.
Now playing
03:01
Why some people want this Abraham Lincoln statue taken down
psaki
PHOTO: CNN
psaki
Now playing
00:56
Psaki fires back at Trump testing czar over vaccine claims
PHOTO: CNN
Now playing
03:04
Avlon: Pence's op-ed is 'way worse than Stockholm syndrome'
(CNN) —  

Veteran politician Pedro Pierluisi was sworn in as Puerto Rico’s new governor on Friday, a spokeswoman with the US territory governor’s office said.

“Today, my unbreakable commitment with Puerto Rico is stronger than ever,” Pierluisi told reporters.

Pierluisi, 60, replaces Ricardo Rosselló, who stepped down as governor following weeks of street protests. Rosselló named him Puerto Rico’s secretary of state earlier this week, thus placing him next in line to become governor.

Legislators and political experts are questioning Pierluisi’s legitimacy as governor. They said he needs approval from the island’s House of Representatives and Senate to fill the role.

Before leaving office on Friday, Rosselló said Pierluisi doesn’t need to be confirmed to be named governor, citing a 1952 law.

The House voted Friday and confirmed him for secretary of state. The Senate is expected to vote by Wednesday.

Pedro Pierluisi was sworn in by the Hon. Luisa M. Colom Garcia, a judge with the San Juan County court of appeals.
PHOTO: Puerto Rico's governor's office
Pedro Pierluisi was sworn in by the Hon. Luisa M. Colom Garcia, a judge with the San Juan County court of appeals.

In a press conference shortly after being sworn in, Pierluisi acknowledged that some people were questioning his legitimacy as governor and said that he will respect the Senate’s final decision.

“If the Senate ratifies my position there should be no more controversy,” he said, adding that he is ready to step down in the case that he’s not approved by legislators.

Thomas Rivera Schatz, the president of the Senate, tweeted earlier on Friday that legislators will approach the confirmation process “with the deepest sense of responsibility.” Rivera Schatz said ealier this week that Pierluisi did not have enough votes to be confirmed.

If Pierluisi can’t be named governor, Justice Secretary Wanda Vázquez Garced will likely become governor.

Vázquez Garced previously said she doesn’t want the job but has said she would follow the rule of law.

“If the time comes, we’ll assume the responsibility imposed by the Constitution and the law,” Vázquez Garced tweeted Thursday.

The new governor remain in office until January 2021.

Mayor says she will sue Pierluisi

Carmen Yulín Cruz, the mayor of Puerto Rico’s capital San Juan, said the city is planning to file a lawsuit over Pierluisi’s appointment as governor.

The suit is expected to be filed at the Supreme Court of Puerto Rico on Monday morning and will name Pierluisi and Vázquez Garced as defendants, she said.

Frank Torres-Viada, the attorney representing the city, said Puerto Rican municipalities are responsible of upholding the Constitution of the US territory.

When asked by CNN if the lawsuit was a political stunt, Yulín Cruz said, “This is not politics. This is policy.”

“When I was sworn in, I was sworn to protect the Constitution,” she added.

Yulín Cruz, who is reportedly planning to run for governor in next year’s elections, referred to Pierluisi as a “self-appointed governor” and said he should not be able to make any decisions. She echoed her earlier criticism on Twitter where she referred to him as an “usurper.”

Who is Pedro Pierluisi?

Pierluisi is a corporate lawyer for the O’Neill & Borges law firm in San Juan. His firm represents the Financial Oversight and Management Board for Puerto Rico – which Congress created in 2016 to help manage territory’s financial crisis. His brother-in-law is the head of the board, known as la Junta on the island.

One of the more popular chants among protesters prior to Rosselló’s resignation was “Ricky renuncia y llévate a la Junta” (Ricky resign and take the Junta with you.)

Puerto Rico Gov. Pedro Pierluisi told reporters he would step down if he's not confirmed by Puerto Rico's Congress.
PHOTO: Dennis M. Rivera Pichardo/AP
Puerto Rico Gov. Pedro Pierluisi told reporters he would step down if he's not confirmed by Puerto Rico's Congress.

Pierluisi is also Puerto Rico’s former resident commissioner, the island’s sole representative in Congress, from 2009-2017. He also previously served as Puerto Rico’s secretary of justice under former Gov. Pedro Rosselló, the outgoing governor’s father.

Rosselló defeated Pierluisi in 2016 when they sought the New Progressive Party nomination for governor. After his loss, Pierluisi moved to the private sector.

In his statement announcing the nomination, Rosselló said Pierluisi’s previous positions make him an ideal candidate to confront the current political challenges.

“This historic time requires a person able to re-establish relations with all sectors at the local and national level,” said the outgoing governor.

Rosselló has said Pierluisi will finish out his term but will not seek the governorship next year.

San Juan Mayor Carmen Yulín Cruz criticized Rosselló and the confusion of the appointment process.

“Ricardo Rosselló wouldn’t stop stealing and took Puerto Rico’s right to have a governor who doesn’t represent the interests of the board. Today the board swears in. A total insolence!” she tweeted Friday.

Rosselló signed bill hours before resignation

Shortly before his effective resignation, Rosselló’s signed a bill into law to move the Democratic presidential primary election from June to March.

“The law intends to bring national attention to Puerto Rico, especially in the upcoming Democratic primaries. Currently, the primary is to be held in June, which reduces the impact we may have. By making Puerto Rico an early voting state, candidates will be forced to pay attention to our needs,” he said in a statement.

Rosselló’s historic resignation came after nearly two weeks of mass protests in Old San Juan and in the midst of political scandal involving the release of crude, sexist and homophobic chat messages between the governor and members of his inner circle.

Following the footsteps of his father, former Puerto Rico Gov. Pedro Rosselló, he ran for governor in 2016 and took office in January 2017.

The eventual downfall of his administration may have been set in motion by Hurricane Maria in 2017. The devastating storm made landfall less than nine months after Rosselló became governor.

In the wake of Hurricane Maria there were widespread problems with the distribution of food, water and other vital supplies to those who needed it most. Many residents were left in the dark for months when the island’s antiquate power grid was heavily damaged by the storm.

Nearly a year after the storm, the Rosselló administration finally admitted that Hurricane Maria left several thousand people dead – not the dozens that had been the official line.

CNN’s Juan Carlos Lopez, Leyla Santiago, Ray Sanchez and Meridith Edwards contributed to this report.