In our first four presidential elections, the legislatures appointed presidential electors. Staring in 1804, legislatures began delegating that duty to the voters of the state. By 1844, only South Carolina still had the legislature make the call, and by 1868 that too ended.
What a colossal mistake it was not to REQUIRE that electors be chosen by the legislatures.