Rama is the king of Ayodhya in Hindu mythology and tradition. He is the central figure of the epic Ramayana and is considered an avatar of Vishnu. Krishna is associated with Dwarka, while Vamana and Varaha are other avatars of Vishnu not connected to Ayodhya's kingship.