The Crucible by Arthur Miller is an allegory for McCarthyism. Miller used the 1692 witchhunt era as to metaphor for McCarthyism and his witchhunt-like trials.