The war was 1,000 years ago - the length was unknown. The espers fled AFTER the war ended, I think, because humans were persecuting them and blaming them for the war. Or they merely sealed it after the war. I'm not sure.
I'd assume there were three factions, one for each of the Goddesses.