Texas – under the Texas Estates Code (which replaced the prior Texas Probate Code), "a will written wholly in the testator's handwriting is not required to be attested by subscribing witnesses."[52] However, a holographic will can be self-proved at creation by the testimony of two witnesses, both of whom must be at least age 14 when the will was formed (similar to a regular will); in addition, "Such a will may be made self-proved at any time during the testator's lifetime by the attachment or annexation thereto of an affidavit by the testator to the effect that the instrument is his last will; that he was at least eighteen years of age when he executed it (or, if under such age, was or had been lawfully married, or was then a member of the armed forces of the United States or of an auxiliary thereof or of the Maritime Service); that he was of sound mind; and that he has not revoked such instrument."[53] But if the will was not self-proved, at probate "a will wholly in the handwriting of the testator may be proved by two witnesses to his handwriting, which evidence may be by sworn testimony or affidavit taken in open court, or, if such witnesses are non-residents of the county or are residents who are unable to attend court, by deposition, either written or oral, taken in accordance with Section 51.203 [of the Texas Estates Code] or the Texas Rules of Civil Procedure."[54]