In January 1932, peasants across western El Salvador took up arms against the government after legislative elections were cancelled by President Hernández Martínez. In what would become a massacre of 25,000 to 40,000 indigenous and communists, Aguirre y Salinas was put in charge of capturing Farabundo Martí, one of the rebellion's communist leaders.