The legend is of King Asura (popularly known as Maveli), a mythical king who ruled over Kerala. He was greatly respected in his kingdom and was considered to be wise, and extremely generous. Everybody was happy in his kingdom. There was no discrimination on the basis of caste or class. Rich and poor were treated equally. There was neither crime, nor corruption. Due to his popularity, the Gods became extremely concerned and jealous. They felt threatened and decided to end his reign. They asked Lord Vishnu to go to earth in the form of a dwarf Brahmin. Disguised as Vamana, Vishnu requested Mahabali for 3 feet of land. Kind Mahabali granted him the land, Vamana began to expand and eventually increased himself to the size of cosmic proportions. With his first step, the Brahmin boy covered the whole of earth and with the other step he covered the whole of the skies. He then asked the King where is the space for him to keep the third foot. King Mahabali with folded hands bowed before Vamana and asked him to place his last step on his head so that he could keep the promise. The brahmin placed his foot on the head of the King and trampled Mahabali to the netherworld. There, the King requested Lord Vishnu to be allowed to visit his land and people once a year, and Vishnu granted him his wish. It is the day of the visit of King Mahabali to Kerala that is celebrated as Onam every year. The origin of Onam is beliefs from the Thrikakkara Vamana Moorthi Temple in Ernakulam district of Kerala.