Diaz was a oaxacan mestizo, and he was part of the midle class at that time . He was a Liberal supporter, he supported Benito Juarez, until the French intervention. After Maximiliano of Hasburg was exilled, Diaz fought against french troops, but after Batalla de Puebla happened, he turned against Juarez and declared himself president.
He was a huge supporter of no relecting, but after he became president, he changed the constitution so he could relect himself for over 30 years.