Why did the Salem Witch Trials occur? What factors contributed to the mass-paranoia that permeated Salem during this period?

Why did the Salem Witch Trials occur? What factors contributed to the mass-paranoia that permeated Salem during this period?