The Spanish class system place people in the top class primarily based upon how much Spanish blood a person had.
The more Spanish blood there was in a person, the better ranked they were in the Spanish class system. Pure blooded Spaniards were at the top, followed by other people of mixed backgrounds.