the immense , heavily guarded complex where china 's top leaders lived and ruled had been a symbol of empire ever since the mongol overlords had walled it in during the yuan dynasty of the fourteenth century .