performance of the royal ritual, hundreds of Brahmins and temple servants
  were attached to these temples. Feudatories and royal officers were also
  required to perform special services in the temple. These temples soon
  became self-supporting and were of great benefit to the king, though their
  initial cost of construction was quite high. In the case of the Rajarajesvara
  temple, its annual income in the form of grain from the land donated to it
  was worth about 502 kg of gold. Its surplus funds were lent to villages in
  the core area of the realm for agricultural development projects at the rate
  of 12 per cent interest per annum. These political and economic functions
  of the royal temple were realised in the role of the king in the royal ritual.
  The linga of the temple was often named after the king who had donated
  it. Paintings in the temple and sculptures outside it showed the king
  depicted like a god and the gods in turn were decorated with royal
  attributes. In order to gain additional legitimisation some kings even
  solemnly transferred their realm to the royal god and ruled it as the god’s
  representative or son. In this way they could use the royal temple and its
  staff as instruments of government and could threaten recalcitrant
  feudatories with the wrath of the royal god if they did not obey the king’s
  orders. The settlement of Brahmins and the foundation of royal temples
  served the purpose of creating a new network of relations—political,
  economic and ritual. This network centred on the king and was thus an
  antidote/to the centrifugal tendencies of the samantachakra.)
Major Religious Developments
Growing Importance of Temples The temple, already a crucial religious
institution, now came to be closely associated with all major religious
developments of the early medieval period. Simultaneously, with the growth
of theistic sects, grew the temples, not only in number but in size as well.
Many of the early medieval temples had a small beginning, but as a result of
regular patronage and with the incorporation of kindred sects, became
massive complex institutions. Construction of temples was linked with
contemporary consciousness about social position; many of the deities
enshrined in south India bore the personal names of the devotees. Followers
of different sects competed with    one another for the construction of temples.