In Aztec mythology, Xolotl was the god with associations to both lightning and death.
Read more about Xolotl.