It is narrated in legend that Madurai was originally a forest known as Kadambavanam. One day, a farmer named Dhananjaya who was passing through the forest, saw Indra (The king of the gods), worshipping a swayambhu (self created Lingam ) under kadamba tree. Dhananjaya, the farmer immediately reported this to King Kulasekara Pandya. Kulasekara Pandya cleared the forest and built a temple around the Lingam. A city was soon planned with the temple as its centre. On the day the city was to be named, Lord Shiva is said to have appeared and drops of nectar from his hair fell on the town. So, the place was named Madurai - mathuram meaning "sweetness" in Tamil.