Foreign nationals are prohibited from making any contributions or expenditures in connection with any election in the U.S. Please note, however, that "green card" holders (i.e., individuals lawfully admitted for permanent residence in the U.S.) are not considered foreign nationals ...
Interesting link.