Gajasura (elephant demon) is the name used to refer to demon Nila when he took the form of an elephant and attacked Shiva. He was destroyed by Ganapati.
Gajasurasamhara ("The Slayer of the elephant demon"), also Gajasamhara, Gajantaka and Gajaha (all three lit. "the Slayer of the elephant") and Matangari ("The Enemy of the elephant"), is a fierce aspect of the Hindu god Shiva as the Destroyer of the elephant demon, Gajasura. The icon is popular in Pallava and Chola art, which portray him dancing vigorously in the flayed elephant hide of Gajasura.
The chief temple of Gajasurasamhara is at Valuvur (Vazhuvur), Tamil Nadu, where the chief icon is an eight-armed bronze Gajasurasamhara. Valuvur is one of the Atta-virattam temples, the eight sites of the heroic acts of Shiva.