What role did potatoes play in the diet of the poor in Ireland?

The poor people in Ireland used to survive primarily on potatoes.