Pedro Pierluisi, sworn in as Puerto Rico
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
US President Joe Biden speaks about the 50 million doses of the Covid-19 vaccine shot administered in the US during an event commemorating the milestone in the Eisenhower Executive Office Building in Washington, DC, February 25, 2021. (Photo by SAUL LOEB / AFP) (Photo by SAUL LOEB/AFP via Getty Images)
PHOTO: Saul Loeb/AFP/etty Images
US President Joe Biden speaks about the 50 million doses of the Covid-19 vaccine shot administered in the US during an event commemorating the milestone in the Eisenhower Executive Office Building in Washington, DC, February 25, 2021. (Photo by SAUL LOEB / AFP) (Photo by SAUL LOEB/AFP via Getty Images)
Now playing
02:28
Axelrod explains the message Biden is sending with strike
WASHINGTON, DC - FEBRUARY 13: Senate Minority Leader Mitch McConnell (R-KY) walks from his office to the Senate Chamber for the fifth day of former President Donald Trump
PHOTO: Chip Somodevilla/Getty Images
WASHINGTON, DC - FEBRUARY 13: Senate Minority Leader Mitch McConnell (R-KY) walks from his office to the Senate Chamber for the fifth day of former President Donald Trump's impeachment trial at the U.S. Capitol on February 13, 2021 in Washington, DC. House impeachment managers asked the senate Saturday for the ability to question witnesses as part of the trial. (Photo by Chip Somodevilla/Getty Images)
Now playing
02:07
McConnell says he'd support Trump as GOP nominee
The Pentagon, the headquarters of the US Department of Defense, located in Arlington County, across the Potomac River from Washington, DC is seen from the air January 24, 2017.  / AFP PHOTO / Daniel SLIM        (Photo credit should read DANIEL SLIM/AFP via Getty Images)
PHOTO: Daniel Slim/Getty Images
The Pentagon, the headquarters of the US Department of Defense, located in Arlington County, across the Potomac River from Washington, DC is seen from the air January 24, 2017. / AFP PHOTO / Daniel SLIM (Photo credit should read DANIEL SLIM/AFP via Getty Images)
Now playing
02:10
US carries out airstrikes on Iran-backed militia groups
The exterior of the U.S. Capitol building is seen at sunrise on February 8, 2021 in Washington, DC. The Senate is scheduled to begin the second impeachment trial of former U.S. President Donald J. Trump on February 9.
PHOTO: Sarah Silbiger/Getty Images
The exterior of the U.S. Capitol building is seen at sunrise on February 8, 2021 in Washington, DC. The Senate is scheduled to begin the second impeachment trial of former U.S. President Donald J. Trump on February 9.
Now playing
01:57
Senate parliamentarian rules against minimum wage increase in relief bill
Now playing
03:56
Marjorie Taylor Greene's challenger explains decision to run
PHOTO: CNN
Now playing
03:44
Acting US Capitol Police chief explains 'operational challenges' from January 6 riot
Rep. Marie Newman (D-IL) speaks with CNN
PHOTO: CNN
Rep. Marie Newman (D-IL) speaks with CNN's Alisyn Camerota.
Now playing
07:17
Lawmaker reacts to Rep. Taylor Greene's tweet on her transgender daughter
Connolly
PHOTO: CNN
Connolly
Now playing
03:51
'I will not be lectured' on bipartisanship: Lawmaker fires back at Jim Jordan
US President Donald Trump speaks to the press from the South Lawn of the White House after announcing and initial deal with China in Washington, DC, prior to departing to Lake Charles, Louisiana to hold a campaign rally on October 11, 2019.
PHOTO: NICHOLAS KAMM/AFP/Getty Images
US President Donald Trump speaks to the press from the South Lawn of the White House after announcing and initial deal with China in Washington, DC, prior to departing to Lake Charles, Louisiana to hold a campaign rally on October 11, 2019.
Now playing
02:28
Romney says he's 'pretty sure' Trump will win 2024 nomination if he runs
Now playing
02:04
Senate moderates create obstacle for Biden's nominee
This picture taken 26 December 2011 shows the Pentagon building in Washington, DC.  The Pentagon, which is the headquarters of the United States Department of Defense (DOD), is the world
PHOTO: Staff/AFP/Getty Images
This picture taken 26 December 2011 shows the Pentagon building in Washington, DC. The Pentagon, which is the headquarters of the United States Department of Defense (DOD), is the world's largest office building by floor area, with about 6,500,000 sq ft (600,000 m2), of which 3,700,000 sq ft (340,000 m2) are used as offices. Approximately 23,000 military and civilian employees and about 3,000 non-defense support personnel work in the Pentagon. (Photo credit should read STAFF/AFP via Getty Images)
Now playing
04:30
Pentagon report gives insight on White supremacists in active military
Now playing
03:57
GOP senator continues to push riot conspiracy theory
Now playing
02:08
Cabinet secretary explains why he took on challenging role
Rep. Debra Haaland (D-NM), President Joe Biden
PHOTO: Leigh Vogel/Pool/Getty Images
Rep. Debra Haaland (D-NM), President Joe Biden's nominee for Secretary of the Interior, testifies during her confirmation hearing before the Senate Committee on Energy and Natural Resource, at the U.S. Capitol on February 24, 2021 in Washington, DC.
Now playing
00:59
'We need to work together': Haaland responds to question on blind loyalty
Now playing
01:35
Laughter follows awkward moment between GOP leaders
(CNN) —  

Puerto Rico’s Justice Secretary Wanda Vázquez Garced was sworn in Wednesday afternoon as the third governor that the financially and politically troubled island has had in less than a week.

Hours earlier, the highest court declared unconstitutional the governorship of disgraced former Gov. Ricardo Rosselló’s handpicked successor, a move certain to prolong the political crisis on the US territory.

The unanimous decision by the Supreme Court threw out last week’s swearing in of attorney Pedro Pierluisi on grounds he had not been confirmed as secretary of state by both chambers of the legislature.

Pierluisi, in a statement shortly before Vázquez took the oath, announced that his short-lived tenure had come to an end after just five days.

“In light of the decision by the Puerto Rico Supreme Court, I must step aside and support the Secretary of Justice of Puerto Rico,” he said.

Pierluisi added, “This is a time when we must all unite for Puerto Rico, leaving behind any partisan, ideological or personal agendas. In other words, this is a time for unity of purpose for the benefit of Puerto Rico, until our people have the opportunity to choose their future leaders in next year’s elections.”

Moments after his statement, the governor’s office tweeted a photo of Vázquez taking the oath of office.

Justice Secretary Wanda Vazquez is sworn in as governor of Puerto Rico by Supreme Court Justice Maite Oronoz in San Juan on Wednesday.
PHOTO: Dennis M. Rivera Pichardo/AP
Justice Secretary Wanda Vazquez is sworn in as governor of Puerto Rico by Supreme Court Justice Maite Oronoz in San Juan on Wednesday.

Pierluisi had been expected to replace the disgraced Rosselló, who stepped down as governor following weeks of protests. Rosselló named him Puerto Rico’s secretary of state, placing him next in line to become governor.

But a legal challenge by Senate president Thomas Rivera Schatz, a Rosselló rival who himself has sights on the governorship, had asked island’s highest court to intervene.

“To those who lent themselves, for their personal interest, to this embarrassing attempt to install an illegitimate government, that is how you will go down in the history of Puerto Rico,” Rivera Schatz said in a statement posted on Facebook after the ruling.

Infighting within the New Progressive Party

Vázquez said Wednesday that she respected the ruling and would assume the governorship.

“Puerto Rico needs certainty and stability,” she said in the statement released via Twitter.

Observers said the latest development plunged the island into political and economic purgatory. Some pundits even suggested that Vázquez will take the oath only to name a new secretary of state who would then take over as governor.

“It’s almost a joke,” said longtime political expert Mario Negron Portillio.

“In a matter of a couple of weeks Puerto Rico has had three governors. Nobody knows what time it is. Honest to God. The economy is standing still because nobody knows what’s going to happen. Who wants to invest … in Puerto Rico if you don’t even know who’s going to be governor next week? This is a crazy house right now.”

The affair highlights the fierce infighting within Rosselló’s pro-statehood New Progressive Party and threatens to deepen the political turmoil on the island, where protesters have voiced opposition to both Vázquez and Pierluisi.

Pierluisi, 60, 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 and a target of protesters who helped topple the unpopular Rosselló.

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.)

Pedro Pierluisi
PHOTO: ERIC ROJAS/AFP/AFP/Getty Images
Pedro Pierluisi

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

Vázquez isn’t much more popular and even took to Twitter recently to say she didn’t want the governorship.

She became secretary of justice in January 2017, and is an ally of Rosselló.

Critics cite Vázquez’s close ties to the outgoing governor as well as her own controversies and limited political experience. They accuse her of failing to open investigations against members of her own party, particularly Rosselló and his administration’s handling of the aftermath of Hurricane Maria in 2017.

Last year, Vazquez came under fire for allegedly intervening on behalf of her daughter in a case stemming from a home theft. She faced charges of violating government ethics laws. But a judge later ruled there was insufficient evidence to arrest her.

Controversial text messages started the uproar

Rosselló stepped down on Friday following weeks of massive anti-government protests.

Protests were sparked by the release of private chat messages that exposed Rosselló and 11 top aides and Cabinet members exchanging profanity-laced, homophobic and misogynistic messages about fellow politicians, members of the media, celebrities and others.

The texting scandal followed years of alleged corruption, a debt crisis and widespread devastation by Hurricane Maria. The leaks and the unrest that followed rocked the island’s administration and led to resignations of several high-profile political figures.