Being the U.S. history buff that I am (MA in History from Austin Peay State Univ., Clarksville,TN, conferred in 1981), you might want to look up "The Disputed Presidential Election of 1876."
That was a real hum-dinger!! :thumbsup:
So, why, one may ask, did the "Framers" of the U. S. Constitution ever come up with the EC in the first place?
I suppose there's more than just one single reason, but basically IMHO at least, the Framers somehow saw the EC as a means for even the states--as states--to have some level of "say-so" in determining who would be (or NOT be) the POTUS.
Granted, none of the Framers apparently envisioned the development of "partisan" politics that subsequently very rapidly developed during the presidency of George Washington ("Hindsight is ALWAYS 20-20," I guess!) when you had the eventual split between the "Federalists" (nominally headed by Alexander Hamilton) and the "Democratic-Republicans" (nominally headed by Thomas Jefferson), but that's what happened c. 1790, and basically it's been that way ever since.
As originally concieved by the Framers, the EC was (at least in part) a way to check/balance of what they feared would (and DID!) happen as this nation slowly drifted from that of being a fairly staunch REPUBLIC into that of a DEMOCRACY.
At least the EC as the Framers hoped it would be, would be one way to at least slow down that trend, because it put into the hands of the individual states, as states (all 57 of them according to the current POTUS anyway ["Just how many 'states' does Kenya have anyway?? H-mm.....'Seven,' you say"??!!??] :smilewinkgrin

.
And, so now we have what some say is an obsolete part of our Constitution.
Maybe, but then again, maybe not.
Things ARE different today, but I'm not thoroughly convinced that in this particular case that they are decidedly better.
For one thing, today we have the direct election of U.S. Senators as a result of the 17th Amendment, which was only ratified in 1913, less than 100 years ago. And, as we ALL know, that
REALLY made the U.S. Senate a much,
much better legislative body, now didn't it??!!??
Back before the 17th Amendment, U.S. Senators were elected by the states' legislative bodies.
Personally, along with Salty's plan to prohibibit illegal aliens from voting, I'd like to have the "winner-take-all" basis for EC votes changed to a proportional system where which ever POTUS candidate carries that district, gets that particular district in the EC.