The highest ranking member of the Legislative branch, in the House in particular, is the Speaker of the House of Representatives. They are usually a member of the majority party, if not a leader, and are elected by the house with the support of the majority party.
A flaw in the Electoral College became clear when conflict arose during the election of President Thomas Jefferson in 1800. How did the 12th Amendment alter how the president and vice president are elected in the Electoral