at the onset of kali yuga, once king parikshit went hunting in the forest. just then in the middle of the way, kali, appeared before him and asked permission to enter his kingdom, which the king denied. upon insisting, parikshit allowed him five places to reside: where there is gambling, alcohol consumption, prostitution, animal slaughter and gold. kali smartly entered into parikshit's golden crown and spoiled his thoughts. parikshit entered the hut of a sage named shamika as he was thirsty. he found the sage in deep meditation. he bowed to him several times but as there was no response. in anger, he took a dead snake and threw it around the sage's neck. later when the sage's son, shringin, heard of this incident he cursed the king to die of snake bite on the seventh day. on hearing this, the king forswore the throne for his son janamejaya and spent his last seven days listening to the discourses of sage shuka, compiled as the bhagavata purana under the banyan tree of shukratal. as prophesied, the snake king takshaka bit parikshita, who left his mortal remains behind and attained moksha.