Farmers and herders were at the bottom.
The ancient Egyptian people were grouped in a hierarchical system.
At the top of the social pyramid was the pharaoh.
Then, government officials, nobles and priests who performed ceremonies for the God of their temple were below the pharaoh.
In the third level there were scribes, the only people who could read an write, and soldiers, who were responsible for the defense of the country.
The middle-class people were on the fourth level. They were craftsmen.
Finally, at the bottom of the pyramid, there were farmers and slaves who worked in the home of the nobles.