What country did Spain invade?