Not later than immediately following the conviction of a defendant for an offense described by Article 56A.502, the attorney who represented the state in the prosecution of the case shall notify in writing a victim or witness described by Article 56A.503(a) of the victim's or witness's right to receive notice under this subchapter.
Tex. Code Crim. Proc. § 56A.505