The best answer that summarizes the provided information would be:
"Irish immigrants came to the U.S. due to the potato famine, worked in factories, and faced discrimination, while women took jobs outside the home in textile mills during a time when the Industrial Revolution increased U.S. manufacturing and was influenced by the effects of the War of 1812."