While more can be said, I was able to find two past answers by u/Mictlantecuhtli and u/400-Rabbits involving some discussion of the Aztec judicial systems you may find interesting. https://www.reddit.com/r/AskHistorians/comments/190a4i/how_did_mesoamerican_governments_function_and/ https://www.reddit.com/r/AskHistorians/comments/3v7dkq/if_the_aztecs_didnt_have_prisons_where_did_they/