the campaign against the invaders lasted for years , and after a fairly large battle that he seemed to lose , ayachin fled southward , luring the eosian armies into the astel marshes in the south of the kingdom .