The glittering gold-plated gopuram of the Sanctum Sanctorum of the Tirumala Venkateswara Temple is called Ananda Nilayam (abode of Happiness). According to Vaishnava philosophy, gopurams of the sanctum sanctorum are named:
"Vimana" is the style of architecture that Hindu temples followed. The Ananda Nilaya Vimanam is a three-tiered canopy.
The first mention of Vimana is from the renovation work of the temple between the 12th and 13th century AD when a second wall was constructed around the sanctum sanctorum enclosing the first wall to support the weight of the vimana. The Pandyan king Jatavarman Sundara Pandyan gold plated the roof and donated the gilded Kalasam. Viranarasingaraya, a Pallava-allied king, performed thulabhara (weighing oneself) against gold and his weight in gold was used to make the gold-plated copper sheets to cover the Vimana. This phase of construction is usually agreed as the fourth phase of Tirumala temple construction out of seven.
In the 1950s, it was discovered that the gold was getting old and parts of the roof inside were caving into the Sanctum Sanctorum. The TTD decided to replace the aging metal and fix the roof. All the gold was removed and painstakingly replaced; the damaged levels of the roof below were fixed with cement and extra strength metal grouting reinforcement. During this period in the mid-1960s, no worship could be performed in the Sanctum Sanctorum and so the "power" of the chief deity was shifted into a temporary idol carved and placed elsewhere in the temple. All the worship was performed in this new "Bala Aalaya" (Child Temple). It took five years for the carpenters and builders to get dies of the nooks and crannies of the roof and finally copper plates were cast into those shapes. Long nails of the 10th century AD were removed and replaced with solid cement and metal grouting using 20th century construction techniques. The copper plates were then installed and fixed in place. Fine "Aparanji" (the best quality) gold was chiseled into plates and riveted onto the copper plates.
A grand ceremony of sanctifying the new grand, golden Ananda Nilaya Vimanam took place in 1964 with "Ashta Bandhana Maha Samprokshanam". The ceremony has been repeated ever since once every 12 years to undertake repairs in the temple.