Moroni had been given the right to execute traitors, and the law was applied to those who had seized Zarahemla. They were clearly traitorous, and their actions had endangered the entire nation, not only because of their division of the land, but because they were in open collusion with the Lamanites (Alma 61:8).