According to Hindu legend, Surapadma, an evil spirit ruler, once got shelters from Shiva by virtue of extreme repentance. He began administering the 1008 universes because of the force accomplished. He wedded Padumakomalai and had a few children. Viramkendiram turned into his capital, a city made in the oceans and he began upsetting the Devas.

 He detained Indra (the ruler of divine gods) and furthermore wanted his better half Indrani. Indra looked for the assistance of Muruga. Muruga sent his courier Viravakutevar to the devil, however, he was unaffected. 

An extreme fight was battled in Thiruparamkundram where Muruga murdered all the children of the evil presence aside from Iraniyan. Surapadman stowed away under the ocean and Muruga split him into two pieces, which went on the become the awesome vehicles, peacock, and rooster. The day when Muruga killed Surapadma is commended as the Skanda Sashti celebration in all the Murugan temples.

Indra, the lord of Devas was dazzled and he wedded Deivayanai, his perfect girl to Muruga at Thiruparamkundram. Muruga is accepted to have venerated Shiva here as Parangirinathar. Kanthar Anoobothi, a composition of the celestial marriage records that Muruga asked all the perfect holy messengers and divine beings who went to the union with fly back to paradise in their own vehicles in Mano veham (speed of thought).