The Twelfth Amendment (Amendment XII) to the United States Constitution provides the procedure for electing the president and vice president. It replaced the procedure provided in Article II, Section 1, Clause 3, by which the Electoral College originally functioned.