The army retreated after the major attack.