During the Tang, the interests of the great aristocratic families had been paramount, but now the old medieval aristocracy was gone, replaced by a governing class chosen on merit, men with a national sensibility that went beyond clan or even dynastic loyalty.