Aiyanar

Ayyanar, Sastha (IAST:Aiyaṉār, Śāstā, ) is a Hindu deity particularly praised in South India and Sri Lanka. His worship is prevalent among Malayalis, Tamils, and Kannadigas. Some studies suggest that Ayyanar may have also been worshipped in South east Asian countries in the past. He is primarily worshiped as one of the guardian folk deities of Tamil Nadu. The village temples of Ayyanar are usually flanked by gigantic and colorful statues of him and his companions riding horses or elephants.
Etymology.
The Tamil word "Ayyanār" is derived from the root word "Ayyan", a honorific used in a Tamil language to designate Aryans. Some people propose that "Aiyan" could be the Tamilized version of Sanskrit root "Arya" which means the same. There is a well known temple dedicated to Sastha situated in a village of Kerala, called "Aryankavu". Another name of Ayyanar, Sastha, meets the same dispute. Although he appears as Sastha in Sanskrit scriptures, ancient Tamil records mention him as "Chattan" (சாத்தன்,Cāttaṉ). Though Śāstā is the term especially used to indicate Ayyanar nowadays, there are two other deities known in the same name. Buddha is also called "Sastha" and "Brahma-Śāstā" is another name for Murugan. Sastha is a generic Sanskrit term for a teacher.
Development.
There are very few pieces of evidence to reconstruct the origin and development of Ayyanar. Since Sastha is the synonym of Buddha, some researchers assume Chattan could have entered the Tamil country with Buddhism. The earliest references to Ayyanar were discovered in the hero stones of hunting chieftains from Arcot, Tamil Nadu dated back to the 3rd century C.E. The phrase in the inscriptions which could be translated into "Ayyanappan; a shrine to Cattan" confirms that Ayyan and Chattan were the names of a single deity. A rock carving of a man and horse in the Isurumuniya Buddhist temple of Sri Lanka, is identified with Ayyanar. Sinhala buddhists of Sri Lanka praise him in the form of a folk deity called "Ayyanayake" to the date.
Sanskrit Sources.
Sastha started to appear in Sanskrit sources from the 7th century CE after Brahmanda Purana. It narrates the history of Hariharasuta, son of Hari and Hara, who was born to Shiva during his copulation with Mohini, the feminised form of Vishnu, after the churning of the milk sea. Sivagama corpus of southern Shaiva Siddhanta including "Pūrva Kāraṇa, Amṣūmatbhēda, Suprabhēda", also have many references to the iconography of Sastha. Other Hindu Saivite texts viz. "Ishana Siva Guru Paddhati, Kulala Sastragama and Shilparatna" explain his worship and iconography briefly.
Tamil Sources.
According to Fred Clothey, "Aiyanar" is a Tamil adaptation of "Aiyan", the chief deity of Ay chieftains who ruled parts of Kerala and Tamil Nadu, the then Tamilakam. He also states that the term "aayar" meaning a cow herder and a protector is an appropriate appellation for both the "Ay" chieftains and their clan deity. Tamil Sangam literature often mention poets and traders with the name "Chattan", who might have revered Sastha as their clan deity.
Tamil epic Silappatikaram, probably dated to the 4th century CE, records the temples and devotees of Cattan. Appar (7th century CE), Saivite Nayanar and one of the initiators of the Tamil Bhakti movement, praises Shiva as the father of Chattan in his Tevaram (Tirumurai, 4:32:4). "Periya Puranam", a Tamil Saivite epic of the 12th century CE tells that Aiyanar at Tiruppidavur revealed the Tamil song of Cheraman Perumal, a Nayanar-cum -Chera king (800—844 CE) which was composed at Madhya Kailash. From the Chola period (9th century) onwards the popularity of Aiyanar became even more pronounced and so many bronze images of him are available from this period. Tamil Nighantus (proto-glossaries) such as "Piṅkalantai" (11th century CE) and "Cūṭāmaṇi Nighaṇṭu" (1520 CE) have explicitly recorded the characteristics of Sastha.
"Kanda purānam", 14th century Tamil version of Skanda Purana narrates the history of Aiyanar in which seconds the story told in Brahmanda purana. Here Ayyan, Kanda puranam tells, sends his chief commander Mahakala to protect Indrani from the demon Surapadman. Mahakala chops down the hands of Ajamukhi, sister of Surapadman, who tried to abduct Indrani for her brother.
Iconography.
The famous iconography of Aiyan shows him alone, carrying a Chentu (செண்டு, crooked stick) in his right hand. Sometimes a whip, stick, sword or scepter can be seen in his hand. While he manifests in a squat position, A meditation band known as Yogapaţţam or Vāgupaţţai will present around his knees and waist. "Pingalantai Nighantu", "Kanda Puranam" and Chola bronzes describe his mount as a white elephant. The horse is another mount abundantly seen in his local temples. Some texts have mentioned the blue horse and bull as his mount as well. After the popularity of the Ayyappan cult, the tiger is also identified as the mount of Sastha.
According to "Cūṭāmaṇi Nighaṇṭu", Sastha wears black garments and reddish garlands. His body is smeared with yellow paste and he carries a sword in his hand. In "Kārana Agama", he sits on a throne with his right leg folded while his left leg is hanging down. He is usually depicted having blue or black complexion. Although his two armed form is common, some texts describe his forms with four or eight arms. "Amsumadbheda Agama" describes his four arms carrying Abhaya, Varada, sword and shield. In "Ishana Siva Guru Paddhati," he is visualized as carrying an arrow, bow, knife and sword.
Other records on Ayyanar tell that he is accompanied by his two wives popularly known as Purana and Pushkala. Purna (on his right) is dark complexioned and carries Varamudra in her right hand and blue lotus in the left. Pushkala (on his left) is yellow complexioned and holds a noose in her right hand. "Shilparatna" describes him with only one wife called Prabha and their eight years old lad known as Satyakan
Folklore regards Aiyan as the guardian of the villages, riding on either an elephant or horse. He carries a bow and arrow to save his devotees. Pavadairayan, Karuppasamy and Madurai Veeran are his attendants. Aiyanar images installed in villages are usually gigantic and they are identical with the Bhuta like iconography of Sastha given in "Subrabheda Agama". In rural areas, Aiyanar is often represented with an escort, usually composed of the god's vassals, sometimes comprising demons. Consistent with this practice, terracotta horses are usually placed outside the temple. These are given up to the god as steeds for his night time perambulations.
Connections with Ayyappan.
A deity named "Ayyappan" is not recorded in any early Tamil/Sanskrit sources though the name "Ayyappan" appears as synonymous with (Vediya) Sastha in Tiruvalla copper plates of the 12th century CE and Kanyakumari Guhanathaswami Kovil Inscription. Neither Ayyappa nor Sabarimala is known as a pilgrim spot in the Tamil region before the 1940s. According to researchers Eliza Kent, Ruth Vanita and Saleem Kidwai, the legends in the Ayyappa tradition seem to be "artificially mixed and assembled into a kind of collage" and "he should have emerged from a Dravidian god of tribal provenance".
It has been claimed that the above mentioned Dravidian tribal god is none other than Ayyanar. Sabarimala Sthala Puranam, a recent purana, says that Ayyappan is the avatar of Ayyanar; the name Ayyappan has been described as a combination of Ayyan (Ayyanar) + Appan (father). Yogapatta bar around the knees of Ayyappan is the distinct character that can be seen in the Ayyanar statues of the Chola period. The horse mount of Aiyanar is still visible in the flag staff of Sabarimala Ayyappan temple. The synonym Sastha of Ayyappan is obviously the same as that of Ayyanar. Another important association is the presence of Karuppa samy in the worship of both deities.
Legend suggests that the image of Sabarimala Ayyappan was consecrated by Parashurama. However the Sanskrit inscription in the image says that it was installed in Kollam Era 1085 (1910 CE) by Prabhakaracharya. Tamil devotees did not discriminate Ayyappan with Ayyanar and they believe that Ayyappan is the avatar of Ayyanar. It can be noted that Sri Lankan Ayyanar temples are being converted into Ayyappan temples following the outbreak of Sabarimala pilgrimage of Sri Lankan devotees in recent years.
Worship.
Many temples are dedicated to Ayyanar can be seen all over South India as well as Sri Lanka. Almost all villages of Tamil Nadu would have an Aiyanar kovil. Ayyanar shrines are usually located at the peripheries or boundaries of rural villages and the deity is seen riding a horse with a sword or whip. Ayyanar has both types of temples - temples constructed in Agamic style and non-Agamic open air shrines. Ayyanar in Agamic temple is usually called Sastha or Dharma sastha. Kerala retains its Ayyanar temples as Sastha temples. The attendant priest for Aiyanar is generally from the potter caste who fashions idols and clay horses, although it is not uncommon for priests from other castes to officiate in the Ayyanar temples. Many castes of Tamil Nadu worship Ayyanar as their Kula deivam.