What class did artisans and scribes belong to in ancient Egypt?

artisans and scribes belonged to the upper middle-class in ancient Egypt.