 The north side of this courtyard was the central hall where the magistrate worked the two side halls contained the six offices.Behind the central hall was another courtyard and hall where the magistrate met with higher-ranking officials.The three courtyard compound formed the center of the complex to the east west of it were other halls, offices, granaries, stables, libraries, official residences, and prisons.