So a city-state was broken up into demes, that were then broken up into tribes. The demes were categorized based on their location. Coast, city, or plains. Each tribe had 50 people to represent them, who were chosen by lot to go to the assembly. Each tribe also had an elected general that served for 1 year.