Urban political machines in the late 1800s

What were the reasons for development of Urban political machines in the late 1800s? Why were Urban political machines in the late 1800s successful? What is the legacy of Urban political machines in the late 1800s?