Aug. 7 (UPI) -- Wanda Vázquez took the oath of office Wednesday to become governor of Puerto Rico hours after the state's supreme court ruled that the swearing-in of Pedro Pierluisis was unconstitutional.
As justice secretary, Vázquez was next in line to become governor after former Gov. Ricardo Rosselló and the secretary of state. Her swearing-in comes days after a ceremony to install Pierluisis as governor.
Rosselló named Pierluisis as secretary of state before the former governor formally stepped down Friday. Under the Puerto Rican Constitution, the secretary of state is next in line to be governor if the role is vacated. The previous secretary of state, Luis Rivera Marín, resigned in July.
Pierluisis was sworn in Saturday before the Senate voted to confirm him as secretary of state. He promised to resign if the Senate didn't confirm his nomination.
But the Senate sued to block Pierluisis' succession to the governorship since he was not the legitimate holder of the secretary of state office.
The high court said it was unconstitutional for Pierluisis to take the oath of office before the state Senate officially confirmed him as secretary of state and overturned his swearing-in Wednesday.
Rosselló announced his resignation in July over a scandal involving derogatory remarks he and other officials made in text messages later leaked to the public. Rivera Marín also cited the scandal in his resignation.
Vázquez said last month she wasn't interested in the job.
"I reiterate, I have no interest in occupying the position of governor," she tweeted. "It is a Constitutional opinion. I hope that the governor identifies and submits a candidate for the position of secretary of state before Aug. 2 and I have told him to do so."