Capital of Rama, illuminated the kingdom with earthen diyas (oil lamps) and burst crackers. [4] In Jainism , Diwali marks the attainment of moksha or nirvana by Mahavira in 527 BC. [5] [6] In Sikhism , Deepavali commemorates the return of Guru Har Gobind Ji to Amritsar after freeing 52 Hindu