The colony of Massachusetts issues the Body of Liberties in 1641. With explicit inspiration from the Old Testament, the law code punishes heresy, blasphemy and homosexuality by death. Attempts at “alteration and subversion of our frame of politie or Government fundamentallie” is also punishable by death.
“94. Capital Laws
(Deut. 13. 6, 10. Deut. 17. 2, 6. Ex. 22.20)
If any man after legall conviction shall have or worship any other god, but the lord god, he shall be put to death.
(Lev. 24. 15,16.)
If any person shall Blaspheme the name of god, the father, Sonne or Holie Ghost, with direct, expresse, presumptuous or high handed blasphemie, or shall curse god in the like manner, he shall be put to death.
(Lev. 20. 13.)
If any man lyeth with mankinde as he lyeth with a woeman, both of them have committed abhomination, they both shall surely be put to death.
If any man shall conspire and attempt any invasion, insurrection, or publique rebellion against our commonwealth, or shall indeavour to surprize any Towne or Townes, fort or forts therein, or shall treacherously and perfediouslie attempt the alteration and subversion of our frame of politie or Government fundamentallie, he shall be put to death.
Read the full text here.