How did the government in ancient Greece develop?

One’s family of birth gradually became unimportant to citizenship.
The wealthy gained power as the city-states moved away from tyrants.
Citizens and noncitizens were able to participate in developing laws.
Power moved from the upper classes to include members of all social classes.