Obviously the poor had no money, so the bosses of say New York would pay clueless immigrants to vote for them in elections to keep them in high city offices and to continue holding power.
During the 1800s, nativists promoted the idea that immigrants contributed to unemployment by competing for jobs that they believed should go to people born in America..