the industrial revolution overall made many improvements in peoples' daily lives like increased safety, new modes of transportation (primarily railroads), decline in diseases, increase in manufacturing/production, increase in jobs, and new technologies/inventions like the use of fossil fuels, electricity, (etc).
The ensuing Mexican–American War was waged from 1846 to 1848 with the loss of many thousands of lives and the loss to Mexico of all of its northern provinces.