 Accused many times of blatant fraud, the PRI held almost all public offices until the end of the 20th century.Not until the 1980s did the PRI lose its first state governorship, an event that marked the beginning of the party's loss of hegemony.Emphasizing the need to upgrade infrastructure, modernize the tax system and labor laws, integrate with the U.S. economy, and allow private investment in the energy sector, Vicente Fox Quesada, the candidate of the National Action Party (PAN), was elected the 69th president of Mexico on 2 July 2000, ending PRI's 71-year-long control of the office.