Feudalism
On the Manor, the top of the social pyramid, sometimes no larger than 20 people, was the Lord. He provided the Knight a castle or dwelling who in return, protected the Lord.
to be updated.