Why did many immigrants come to America in the early 1800s - late 1900s?

To fill new jobs agriculture
To settle on the Mississippi River
To work in new factories during Industrial Revolution
To mine for silver and gold