But the result was nonetheless illegitimate in important ways; the victor was rejected by the public, and won the Electoral College only thanks to foreign intervention and grotesquely inappropriate, partisan behavior on the part of domestic law enforcement.