Onam celebrates the return of the legendary demon king Mahabali (Maveli), who was granted permission to return to Kerala once a year by Lord Vishnu in his Vamana avatar. According to legend, during Mahabali's righteous rule, Kerala was a golden age of prosperity. The festival honors his memory and the ideal of his just reign.