 The Hindu gods attained immortality and invincibility by worshiping a divine Linga called the "Atma-Linga".The Lanka King Ravana wanted to attain immortality by obtaining the Atma-Linga (Soul of Shiva).Since the "Atma-Linga" belonged to Sri Maheshwara, Ravana worshipped Shiva with devotion.