What caused the shift to darker themes in comics during the 1980’s onward?

The modern age of comics began in 1986, and these included darker characters and more mature stories and themes. My question is, what caused this shift from the more innocent comics and heroes to the modern ones. Is it a specific change in culture, or changes which resulted in audiences favoring these types of comics?