Article 1 gave state legislatures the power to elect these officials; the 17th amendment overrode that
Clause 1 Each state legislature can decide when and 
how congressional elections take place, but Congress can overrule these 
decisions.