Mahabharata Anushasanaparva Chapter 102 mentions another Gautama who was a scholarly brahmin. Once when he was traveling in the forest, he came across a baby elephant. He took it home and raised it. When it grew up, Indra appeared before him in the form of Dhritarashtra and began trying to take it away. Gautama found out and though he was offered a thousand cows and wealth, he refused to part with it. Indra was pleased with this and took them both to swargaloka as per Mahabharata Anushasanaparva Chapter 102.