The Virginia Bill for Religious Freedom was written by Thomas Jefferson and introduced into the state legislature in 1777, however it was not passed until 1786:
“Section I. Well aware that the opinions and belief of men depend not on their own will, but follow involuntarily the evidence proposed to their minds; that Almighty God hath created the mind free, and manifested his supreme will that free it shall remain by making it altogether insusceptible of restraint.
Section II. We the General Assembly of Virginia do enact that no man shall be compelled to frequent or support any religious worship, place, or ministry whatsoever, nor shall be enforced, restrained, molested, or burdened in his body or goods; or shall otherwise suffer, on account of his religious opinions or belief; but that all men shall be free to profess, and by argument to maintain, their opinions in matters of religion, and that the same shall in no wise diminish, enlarge, or affect their civil capacities.
Section III. And though we well know that this Assembly, elected by the people for their ordinary purposes of legislation only, have no power to restrain the acts of succeeding Assemblies, constituted with powers equal to our own, and that therefore to declare this act to be irrevocable would be of no effect in law; yet we are free to declare, and do declare, that the rights hereby asserted are of the natural rights of mankind, and that if any act shall be hereafter passed to repeal the present or to narrow its operations, such act will be an infringement of natural right.”