Following Lincoln's assassination in April 1865, Andrew Johnson became president and inaugurated the period of Presidential Reconstruction (1865–67).
Political machines started as grass roots organizations to gain the patronage needed to win the modern election. Having strong patronage, these "clubs" were the main driving force in gaining and getting out the "straight party vote" in the election districts.
The functions of political parties are nominate candidates for office and provide financial support to candidates.
Political parties are understood as entities of public interest created to promote the participation of citizens in democratic life and contribute to the integration of national representation; those who make them share objectives, interests, visions of reality, principles, values and projects to execute totally or partially in democratic governments of countries. These are responsible for presenting candidates to occupy different political positions. For that, they mobilize the so-called electoral support. They also help to organize and guide legislative work, articulate and add new interests and preferences in the citizenship, and they are essential to help structure political support for certain programs, socio-economic interests and values. They also interpret and defend the preferences of citizens, forms governments, and establish political agreements in the legislative field.
It makes them more independent. If they had a limitless amount of terms, they could just vote for whatever was suitable at that time and keep their political power. Since they won't be able to stay in the congress longer, then they can vote whatever they want because there's nothing that will affect whether or not they get elected again.