Jefferson also authored the Virginia Statute for Religious Freedom, upon which the First Amendment would be based. That law, along with the University of Virginia and the Declaration of Independence, were the only achievements he wanted inscribed on his gravestone. The statute guaranteed religious freedom by guaranteeing a secular government.