In 1786, the Virginia Statute for Religious Freedom (drafted by Thomas Jefferson) was passed at the temporary capitol in Richmond, providing the basis for the separation of church and state, a key element in the development of the freedom of religion in the United States.