The Sun Temple consisted of four halls. Every faction within it was dominated by major clans. For instance, the major clan of the First Hall was the Nangong Family.