this defeat helped to postpone the reconquest for many years