A number of observers have raised the issue of court challenges to the 2016 US presidential election results.
Various rationales might be employed. For instance,
Harvard Law prof. Larry Lessig has discussed the possible unconstitutionality of winner-take-all allocation of electors under the Equal Protection Clause here.
Former CIA officer Robert Baer has stated here that if ample evidence is presented that Russia intervened in the election through information warfare, a rerun of the election might be justified.
There is ample polling evidence that the Clinton campaign was damaged by FBI Director James Comey reopening the Clinton email investigation shortly before the election. The election may have hinged on this intervention. Comey's actions may have constituted a violation of the Hatch Act, which prohibits him from interfering in elections.
Have any American elections (at any level) ever been overturned by the courts before? In the case of rationales (2) and (3), what possible legal doctrines could be employed?