The first such law was created in New York after the "Son of Sam" murders committed by serial killer David Berkowitz.
Son of Sam law (plural Son of Sam laws)