According to one popular myth, Pookalam originated from the story of King Mahabali (also called Mahaveli), a legendary ruler of Kerala, who was tested by Lord Vishnu's fifth avatar, and was sent to Paatal Lok, but with a boon that allowed him to return to his kingdom once a year.