It became the main local political machine of the Democratic Party, and played a major role in controlling New York City and New York State politics and helping immigrants, most notably the Irish, rise in American politics from the 1790s to the 1960s. It typically controlled Democratic Party nominations and political patronage in Manhattan after the mayoral victory of Fernando Wood in 1854, and used its patronage resources to build a loyal, well-rewarded core of district and precinct leaders; after 1850 the vast majority were Irish Catholics due to mass immigration from Ireland during and after the Irish Famine.