Three main social groups made up the population of 5th century Athens: Athenian citizens, immigrants, and slaves. Athenian citizens had full legal rights, while immigrants could stay if they paid a tax but had no political power. Most of the population were slaves who worked in homes, fields, and government services. Men participated in public life, politics, and military while women stayed at home to care for children and household duties. Spartan society also emphasized strict gender roles with women holding more prominent positions than elsewhere through education and greeting warriors after battle to inspire them. Spartan children from age 7 lived communally where they learned survival skills, and an emphasis was placed on concise speech.