At any time after the filing of an indictment or accusation but not later than the arraignment, the state shall notify the defendant of its intention to seek the enhanced penalty or penalties authorized by Code Section 17-10-17. The notice shall be in writing and shall allege the specific factor or factors authorizing an enhanced sentence in the case pursuant to Code Section 17-10-17.
OCGA § 17-10-18