The story of Lord Murugan is described in Skanda Purana. According to the legend, in the olden days the demon Soorapadman tortured the Devas, who went to complain to Lord Vishnu and Brahma. They assigned Kamadeva to awake Lord Shiva from his penance, who later gave birth to Kartikeya. Karthikeya killed Soorapadman and saved the devas. Muruga is depicted as the god of love and war. Kartikeya married Valli by love and married Deivayanai by winning the war held at Tiruchendur.