Why was the Electoral College Formed?

Simply put, it was formed for electing the President of the United States of America. States had more power than people so it was formed.