Several Hindu gods predominate in the many myths, legends, and styles of worship in Lanka. One of the main Hindu gods is Vishnu, often represented as a divine king accompanied by his beautiful wife, Lakshmi, the bestower of wealth and good fortune. Besides presiding as a divine monarch, Vishnu periodically descends to earth, assuming a physical form to help beings attain salvation. Vishnu has ten main incarnations, two of which--Rama and Krishna- -are particularly popular. Rama was a great hero, whose exploits in rescuing his wife from the demon king of Lanka are recounted in the epic Ramayana. Vishnu's most popular incarnation is Krishna, who combines in a single divine figure the mythic episodes of a warrior prince and a rustic cowherd god. As warrior, Krishna figures prominently in what is perhaps the single most important Hindu text, the Bhagavad Gita, where he stresses the importance of doing one's duty and devotion to god. As divine cowherd, Krishna served as an inspiration for a vast body of religious poetry in Sanskrit and the regional South Asian languages. From the eighth to the twelfth centuries, Tamil devotees of Vishnu (alvars) composed poetry in praise of the god. These Tamil poems, collected in anthologies, are still recited during worship and festivals for Vishnu.