With the support of mostly Irish immigrants , it grew as a political machine . The support helped win the election for the first Tammany mayor , Fernando Wood , in 1854 . Tammany Hall , a Democratic Party political machine , began to grow in influence with the support of many of the immigrant Irish , culminating in the election of the first Tammany mayor , Fernando Wood , in 1854 .