In the Chapter on Impermanence in Volume 1 of the Dharmapada Sutra, the Buddha taught a historical fact about how Shakra Devanam Indra eliminated karmic wrongdoings and restored his position as the king of heaven before the moment of his death due to the virtues of his wholeheartedly taking the three refuges on his own.