There was the god [named] Phra Uchaentara. He disguised himself as a human.
During ancient times, elephants could talk. There was one black tusk elephant that was very mean and wicked.
The way Phra Uchaentara became famous for being a good mahout is that he challenged the elephant to a duel. But he disguised himself as an old man and waited for the black tusk elephant at the edge of the jungle.
When the elephant came out of the jungle and saw him, the elephant asked, “Uncle, where can I find Phra Uchaentara’s house?” Phra Uchaentara told him the way but said that to show him, he had to let him ride on the elephant’s neck. When Phra Uchaentara got on the elephant’s neck, he directed him into sinking mud but told him to continue on. Finally the elephant said he couldn’t stand it anymore. He was too deep in the mud.
Phra Uchaentara said, “It’s just another distance equivalent to the length of your body.” When the elephant walked that length, Phra Uchaentara started destroying the elephant. He beat him into submission.
So Phra Uchaentara became the wise one. Then he revealed himself to the elephant and told him that he was Phra Uchaentara that had challenged him to the duel. The elephant said he gave up and would not fight anymore and asked Phra Uchaentara to take him out of the mud.
Phra Uchaentara agreed. So he cut down a log and walked him out. That is the story behind the mahout.