Mexican–American War and its Impact