People in the Castle
This also worked something a little like the feudal system!
The king/lord
The nobles/king's advisors
The Knights
The Villagers:
Blacksmith
The Cook
The gardener
The Carpenter
There could be more depending on what the castle was to be used for!
Finally the Peasants