They were assigned by families for guard duty at the various gates, without regard to age or training, for it was all decided by means of sacred lots.