; or (ii) is performed by any person acting as an agent of or on behalf of a foreign government or criminal enterprise; and (B) includes any covert, fraudulent, deceptive, or unlawful act or attempted act, undertaken with the purpose or effect of undermining public confidence in election processes or institutions, or influencing, undermining confidence in, or altering the result or reported result of, a general or primary Federal, State, or local election or caucus, including— (i) the campaign of a candidate