The king's own quarters, which lay to the west of this courtyard, had pavilions on decorated red brick bases, ornately carved wooden pillars, and a roof decorated with clay ornaments. Outside the palace were quarters for Shiva priests, Buddhists, and other members of the nobility. Further away, and separated from the palace by open fields, were more royal compounds, including that of the chief minister Gajah Mada.