In Jainism, Diwali commemorates the anniversary of Lord Mahavir’s attainment of moksha or freedom from the cycle of reincarnation, in 527 B.C.E. Lord Mahavir was the 24th and last Thirtankar of Jainism and revitalized the religion as it is today. First referred to in Jain scriptures as dipalikaya, or light leaving the body, it is said that the earth and the heavens were illuminated with lamps to mark the occasion of Lord Mahavir’s enlightenment.
Each year Jains light lamps on Diwali to symbolize keeping the light of Lord Mahavir’s knowledge alive and sweets are distributed in celebration of his contributions. Many Jains celebrate Diwali by fasting, singing stavans and chanting mantras to honor Lord Mahavir, while others participate in charity and philanthropy. The day after Diwali marks the Jain New Year, celebrating new beginnings and members of the Jain community greet each other with “Saal Mubarak“ or Happy New Year. According to tradition, the chief disciple of Mahavira, Gandhara Gautam Swami also attained omniscience i.e. absolute or complete knowledge (Keval Gyan) on this day, thus making Diwali one of the most important Jain festivals.