The viceroy, who had fled to the convent of San Francisco el Grande, was informed by individuals he trusted of the names of the supposed ringleaders of the rioting. Those arrested were three-quarters were Indians, but mixed race castas, and 4 Spaniards were also caught up in the investigation. Of those arrested in the riot, 66 were Indians, of whom 11 were executed, 32 received corporal punishment, 2 received other punishment, and 20 were absolved. Of the mestizo and castizo arrests, 2 were executed, 6 received corporal punishment, and 4 were absolved. Of the mulattoes arrested, 1 was executed, 2 given corporal punishment, and 2 absolved. In addition to these Indians or mixed raced castas, 4 Spaniards were arrested, of whom 1 was executed, 2 received corporal punishment or labor service, and one received other punishment. Overall, 15 were executed, 42 received corporal punishment or labor service, 3 received other punishment (2 public humiliation, 1 public humiliation and exile), and 26 were absolved. Although crown authorities saw the need to administer quick justice, the legal system functioned such that many under suspicion were absolved due to lack of evidence. Those convicted were overwhelmingly male and in all 31 were skilled workers, such as shoemakers, hat makers, tailors, bricklayers, plus miscellaneous artisans and apprentices. Unskilled workers included porters, people, water carriers, and one muleteer. Of those sentenced to die, 5 died in prison, but their corpses subsequently publicly hanged, similar to the practice of the Inquisition that exhumed the bones of posthumously convicted heretics or Crypto-Jews and burned them in public autos de fe.