Every gift, grant, devise, or bequest made on or after April 2, 1839, for literary or educational purposes, and every gift, grant, devise, or bequest made on or after April 6, 1976, for charitable purposes, whether made in any case to any type of entity or to a natural person, shall be as valid as if made to or for the benefit of a certain natural person, except such devises or bequests, if any, that have failed or become void by virtue of the seventh section of the Act of the General Assembly passed on April 2, 1839, entitled "an act concerning devises made to schools, academies, and colleges." Nothing in this section shall be construed so as to give validity to any devise or bequest to or for the use of any unincorporated theological seminary. Every gift, grant, devise, or bequest made for literary, educational, or charitable purposes before April 6, 1976, is hereby validated.
Va. Code § 57-6.1