In the Hindu epic Mahabharata, Kindama was a rishi who lived in the woods, and could transform himself into an animal form.
Kindama was a very bashful person and his overriding feelings of modesty prevented him from having sex in the company of other humans. To satisfy his sexual desires, Kindama used his powers to turn himself into a deer and took a female deer as mate. Once he and his mate were having intercourse in the woods. King Pandu of Hastinapur, who had been hunting there, shot them, seriously injuring them. Enraged Kindama (still in deer form) berated the king for having killed him before he had finished the act of copulation. Before dying, Kindama cursed Pandu that he would die the moment he engaged in intercourse with any woman.
After Kindama’s curse, Pandu renounced everything and became a hermit. Dhritarashtra the blind brother of Pandu, became the king of Hastinapur. Then, after a long time, Pandu was so enthralled by his second wife, Madri's womanly manners, that he could no longer contain his desires. As soon as he attempted intercourse with Madri, he died. Madri immolated herself in her husband’s pyre.