Mexican and British invasions threaten America