Chamundeshwari: Chamundi of the Hill and Mahishasura
Chamundi Hill, Mysuru, Karnataka

Sri Chamundeshwari, who dwells on Chamundi Hill above the city of Mysuru, is revered as the Nada Devate, the guardian goddess of Karnataka. Local tradition says that on this hill the Mother ended the demon Mahishasura, and that the city, once called Mahishuru after him, became Mysuru. The famous Mysuru Dasara celebrates this victory.
Long ago there lived a buffalo-headed demon named Mahishasura. He did hard penance to please Brahma and won a boon that no god, demon or man could kill him. He thought women so weak that he did not even name them when he asked for his boon. With the boon his pride knew no bounds. Karnataka's tradition says he ruled this very land, and that his capital was called Mahishuru.

Mahishasura attacked heaven and drove out Indra and all the gods. On earth he broke up the sages' yagnas and made life hard for ordinary people. The defeated gods went to Brahma, Vishnu and Shiva and told them their sorrow. From the anger of the three great gods and of all the gods arose a great radiance, and from that radiance appeared a goddess whose light filled all ten directions.

Each god gave her a weapon: Shiva his trident, Vishnu his discus, Indra his thunderbolt, Varuna a conch, and Himavan, king of the mountains, a lion to ride. The many-armed goddess rode her lion towards Mahishasura's city. Hearing her challenge, Mahishasura laughed at the thought of a woman fighting him, and sent out his generals. But one by one, every one of the demon generals fell before her.

Then Mahishasura came to the battlefield himself. He became a buffalo, then a lion, then an elephant, then a warrior with a sword, changing shape again and again to deceive her. Mysuru's tradition says this battle was fought on this very hill. At last, when he charged once more as a buffalo, the goddess pressed him down under her foot and ended him with her trident. Pride was defeated, and the gods cried out in praise of the Mother.

According to the Devi Mahatmya, the Mother in her form as Kali also defeated two demons named Chanda and Munda, and so that form is called Chamunda. The people of Mysuru lovingly call the Mother on the hill Chamundeshwari, Chamundi, or simply Thayi, mother. The hill took her name, while the city kept the demon's old name, Mahishuru, which over time became Mysuru. A tall statue of Mahishasura on the hilltop reminds visitors that however great one's strength, pride always meets its end.

For generations the Wodeyar kings of Mysuru have worshipped Chamundeshwari as their family goddess. More than a thousand steps lead up the hill, and on the way stands a huge Nandi carved from a single rock. On the Fridays of Ashadha the hill fills with devotees. At Navaratri the Mother is adorned in a new form each day, and in the Jamboo Savari on Vijayadashami her image rides on an elephant in the golden howdah. May Mother Chamundeshwari give everyone the strength to conquer the Mahisha within: pride, anger and greed.
Source
The slaying of Mahishasura and of Chanda and Munda is told in the Devi Mahatmya (Markandeya Purana). That the battle took place on Chamundi Hill, and that Mysuru's name comes from Mahishuru, is Mysuru's local tradition.