Over the past two decades , as Mexico 's political system has opened up , brutally poor Oaxaca has remained a virtual one-party state , controlled by the Institutional Revolutionary Party , the machinelike organization that ruled the entire country until Mr. Fox 's victory in 2000 .