What was the purpose of Miller's The Crucible?

to end McCarthyism and the mass hysteria that had overtaken the country
to end the Salem Witch Trials and the punishment inflicted on the accused
to show the wrong in accepting a truth with little or no evidence
to show a historically accurate depiction of early colonial life​