In the middle of the 19th century the potato crop failed, and Ireland suffered a famine.