When the Pandavas learned that Vidura had come to take them home, they rushed to greet him. Lord Krishna, who was with the Pandavas at the time, also greeted Vidura.
Vidura told the Pandavas that Dhritarashtra was overjoyed to learn that the Pandavas were still alive. "Bhishma and Drona are also very happy," he said. "Dhritarashtra told me to bring you back to Hastinapura so that you may be given your share of the kingdom. If Krishna and Drupada have no objection, let us leave immediately for Hastinapura."
Krishna and Drupada did not object. So Vidura and the Pandavas, accompanied by Krishna, set out for Hastinapura. When they arrived, they were warmly welcomed by the citizens of Hastinapura. Dhritarashtra expressed his desire to meet them at once.
After resting for a while, they went to meet Dhritarashtra. The king gave them a royal welcome and said, "Go to Khandavaprastha. That part of the kingdom is yours. I don't want a dispute between cousins."
The Pandavas, along with Kunti, Draupadi, and Krishna, departed for Khandavaprastha. Khandavaprastha was once the capital of the Kuru kingdom but had become a desolate jungle after the capital was moved to Hastinapura. Krishna requested the divine architect Vishwakarma to convert the place into a beautiful city on par with Indra's capital, Amaravati.
As per Krishna's wishes, Vishwakarma converted Khandavaprastha into a breathtakingly beautiful city with a palace, wide roads, a massive fort, and waterfalls. Since it was as majestic as Indra's capital, it was given the new name "Indraprastha."