Any magnetic or electronic storage medium, or copy thereof, used for the ballot tabulation program and any magnetic or electronic storage medium, or copy thereof, containing election results shall be kept in a secure location and shall be retained for 6 months following any local election and 22 months following any federal election or so long thereafter as any contest involving the vote at the local or federal election remains undetermined.
Ca. Elec. Code § 15209