; and (II) promotes, attacks, supports, or opposes any candidate for public office or political party in the United States. (2) Foreign individual Internet activity exception (A) In general When an individual or a group of individuals engages in Internet activities for the purposes of influencing an election, neither of the following is a contribution or expenditure for purposes of this section by that individual or group of individuals: (i) The uncompensated personal services of the individual related to such Internet activities. The exception under the preceding sentence shall not apply to individuals or a group of individuals acting on behalf of or in any capacity at the order, request, or under the direction or control, of a government of a foreign country, a foreign political party, or a person whose activities are directly or indirectly supervised, directed, controlled, financed, or subsidized in whole or in major part by a government of a foreign country or a foreign political party. (ii) The use of equipment or services by the individual for uncompensated Internet activities, regardless of the identity of the owner of the equipment or services. The exception under the preceding sentence shall not apply to equipment or services supplied or provided directly or indirectly by a government of a foreign country, a foreign political party, or a person whose activities are directly or indirectly supervised, directed, controlled, financed, or subsidized in whole or in major part by a government of a foreign country or a foreign political party. (B) Definition For purposes of this paragraph, the terms Internet activities and equipment and services have the meaning given such terms in section 100.94 of title 11, Code of Federal Regulations (or any successor regulation). (d) Prohibition on providing substantial assistance to a foreign governments and foreign political parties in making contributions, donations, or expenditures (1) In general No person shall knowingly provide substantial assistance to a foreign