spanish infantry royal guard attacked and made imperials retreat