Gov. Wanda Vázquez of Puerto Rico conceded defeat Sunday night to Pedro R. Pierluisi, a former congressional representative who briefly served as the island’s governor last year.

The results came a week after the primary was delayed because elections officials failed to deliver ballots to a majority of precincts. Puerto Rico’s Supreme Court ruled that another day of voting had to take place and that the ballots cast earlier should be counted.

Vázquez is a Republican, and Pierluisi a Democrat, but both belong to the New Progressive Party, which supports statehood for Puerto Rico. Pierluisi will face Mayor Charlie Delgado of Isabela, a town on the island’s northwestern coast, in the November general election.

When it comes to mainland politics, Delgado is not registered as a Democrat or a Republican. Delgado won the nomination for the Popular Democratic Party, which supports Puerto Rico’s status as a U.S. commonwealth, after defeating Sen. Eduardo Bhatia and Mayor Carmen Yulín Cruz of San Juan. Cruz became well known outside of Puerto Rico after she blasted President Donald Trump for his administration’s botched response to Hurricane Maria in 2017.

The Trump administration had made overtures to Vázquez in recent months to try to show a federal commitment to storm recovery.

Vázquez became governor a year ago after former Gov. Ricardo A. Rosselló resigned after huge protests. Rosselló chose Pierluisi as his successor, but the Supreme Court ruled the appointment was improper.