Massachussetts was the last state to dis-establish their state church which was Congregationalism; and I do believe it was about 1830.
Virginia's example set the stage for all the rest; and it seems to have been well reasoned.
The Bill of Rights was crafted as a restraint upon the central federal govt. The States themselves were free.
Lincoln destroyed the order of it all. The States are slaves of their child/creation.
The Supreme Court through hubris and conceit legislates from the bench and we all live under a godless tyranny our forefather's never imagined for length and depth and breadth of lewdness and bare faced evil.