The Electoral College was created in the 18th century as a compromise between those who wanted the president to be elected by Congress and those who wanted the president to be elected by a popular vote of the people.