What caused people to leave Ireland in the 1800s?

the Great Famine of the 1840s and the subsequent smaller famines and food shortages