The King Who Sent the Gods Away
A sixty-year drought, a king with one condition, and the god who had to leave his own city.
Skanda tells Agastya how a sixty-year drought led Brahma to Ripunjaya, a king in tapas at Avimukta, who agreed to rule only if the gods stayed in heaven. Renamed Divodasa, he ruled Varanasi so justly that the gods could find no fault, while Shiva, gone to the mountain Mandara, longed for Kashi.
The God Who Missed a City

On the peak of the mountain Mandara, Shiva cannot rest. The cool sandal paste on his chest turns to dry ash against his skin. The crescent moon in his matted hair has grown thin and pale. Parvati sits beside him, his attendants wait in silence, and the Lord of the universe thinks of only one place.
"O Kashi," he cries in the Kashi Khanda, "when will I have the joyous pleasure of coming into contact with you?"
Skanda tells this to the homesick Agastya, and the old sage must have heard his own grief in it. Agastya left Kashi to keep a promise to the gods. Shiva had left Kashi because of a promise too, one made to a king. Who could send the god of Kashi out of his own city? And why did Shiva agree to go?
Sixty Years Without Rain
The story begins with a disaster. In the age of the first Manu, the Kashi Khanda says, a drought fell on the world. "This drought lasted sixty years. All the living beings were tormented by it."
Fields cracked and rivers shrank. The sacred rites grew fewer, and the gods, who live on those offerings, grew weak. Brahma watched his work of creation fall apart. In the text's words, "the endeavour at creation of the Creator became futile."

Brahma needed a ruler who could hold the broken world together. He found one in Avimukta, the holy field of Kashi. A king named Ripunjaya, of the line of Manu, was sitting there in tapas, intense spiritual practice, far from any throne.
Brahma asked him to rule the earth. Ripunjaya agreed, but he set one condition. "Let the Devas who are called Divishads ('residents of heaven') stay in heaven and not on the earth." If he was to carry the world, he would carry it alone.