Only one program went beyond what was originally authorized and shutdown. The rest had no basis to be leaked. It caused grave damage to the national security of the US. Those programs had nothing to do with the privacy of American citizens that everyone keeps latching on here. They are ignoring the rest of the stuff
A single program he leaked was illegal. The vast majority was not, including the hacking of Chinese targets that he leaked directly to SCMP.