Why was the Electoral College Created?

The first reason that the electoral college was created was so that smaller states with smaller populations would have equal representation during elections. The next reason was because the common man wasn’t informed well enough in that time period and the government didn’t trust the people to make a good decision electing officials on their own.