During the middle ages, in the feudal hierarchy, at the top of the chain was the King. After the King came the nobles. These were the Dukes, and the Nobility had vassals themselves, like the Viscounts and the Barons, who were of lesser rank. They were followed by the Knights and finally came the peasants and serfs.