The Mexican-American War and Its Effects