Who were the three prominent families during the rise of the warrior classes