When any real or personal property is given, devised or bequeathed to any school board or for public school purposes, it shall be vested in the school board unless inconsistent with the terms of the gift, devise or bequest and shall be managed and applied by the school board according to the wishes of the donor or testator. The school board shall, in addition to the regular settlement which it is required to make of all school funds, settle annually before the commissioner of accounts so far as the management of the property so bequeathed or devised is concerned, and the court having jurisdiction shall have the right to compel such a settlement, as is provided for in § 64.2-1216.
In the case of any change in the boundaries of any school division, the school board shall make provision for continuing the fulfillment of the purposes of such donor or testator as far as practicable and settlement shall be made as provided for above.
Va. Code § 22.1-126