Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
The House and Senate met in a joint session to count the electoral votes for President and Vice President on February 12, 1817. The count proceeded without incident until the roll came to the last state to be counted, which happened to be Indiana. At that point, Representative John W. Taylor of New York objected to the counting of Indiana's votes. He argued that Congress had acknowledged the statehood of Indiana in a joint resolution on December 11, 1816. Whereas, the ballots of the Electoral College had been cast on December 4, 1816. He claimed that at the time of the balloting, there had been merely the Indiana Territory, not the State of Indiana. Other representatives contradicted Taylor, asserting that the joint resolution merely recognized that Indiana had already joined the Union by forming a state constitution and government on June 29, 1816. These representatives pointed out that both the House and Senate had seated members from Indiana who had been elected prior to the joint resolution, which would have been unconstitutional had Indiana not been a state at the time of their election. Representative Samuel D. Ingham then moved that the question be postponed indefinitely. The House agreed almost unanimously, and the Senate was brought back in to count the electoral votes from Indiana.