After 1367, during the minority of the shōgun Yoshimitsu, the "kanrei" Hosokawa Yoriyuki became active in trying to legitimize the regime in the eyes of the nobles. He did this through a series of extremely conservative measures, gaining prestige among the nobles in Kyoto. He used an ancient court ranking system by having the young shōgun participate in it. He also associated the regime with the court much more closely than had any other past warrior leader. By doing this, he tied the regime closer to the imperial court, thereby erasing the stigma of the ideology that fueled the Nanboku-chō conflict: Ashikaga Takauji was seen as a traitor fighting against the restoration of imperial power.