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.
It’s lost nearly all of its North American possessions because after the British defeated the French in Quebec they took control of the lands that had been claimed by France.France lost its mainland possessions to North America