After the Mexican Revolution and the installation of a democratically elected president, Álvaro Obregón, Chávez became one of the first exponents of Mexican nationalist music with ballets on Aztec themes .