The Creator Lord Bramha and Protector Lord Thirumal entered into a controversy among themselves so as to ascertain who was the greatest. Lord Siva was asked to be the judge. Lord Siva told them that whoever was able to see his crown as well as his feet would be termed as the greatest. Then Lord Siva transformed himself into a Jothi (a column of fire) touching the heaven and earth. Thirumal took the avatar of varaha (wild boar) and dug deep into the earth to find Siva's feet but at last accepted defeat. Bramha took the form of a swan and flew to see the crown of Siva. Unable to see the crown, Bramha saw a thazhambu flower which had decked Siva's crown falling down. He asked the flower as to the distance of Siva's crown whereby the flower replied that he had been falling for forty thousand years. Bramha, realizing that he would not be able to reach the crown asked the flower to act as a false witness
The thazhambu flower acting as a false witness declared that Brahma had seen the crown. Siva became angry at the deception and cursed that Bramha should have no temple on earth and that the thazhambu flower should not be used while praying to Lord Siva. The place where Lord Siva stood as a column of fire to eliminate the ego is Thiruvannamalai.
The Annamalai Hill was Agni (fire) during Krithayugam, was Manikkam (Emerald) during Threthayugam, was pon (Gold) during Dwaprayugam and rock during Kaliyugam as per the ancient legends. On the request of Thirumal and Bramha by their devout prayer, Siva who was in the form of a fire column took the form of a Sivalingam at the foot of the hill hwere the Arulmigu Annamalaiyar Temple is located.