Well i would assume this is a simile since the use of “as” and it’s comparing one thing to another :)
War dissenters were the main target of the Espionage and Sedition Acts because when the acts were issued during WWl it was to accuse and try people on account of unpatriotic sympathies.
New England. They started it to try to get people to feel closer to God