In 494 BC, the city was at war with two neighboring tribes