One of the greatest of Hindu kings, Vikramaditya was crowned on the Diwali day. The legendary emperor, who may have been a historical figure or based on one, is thought of as the ideal king, known for his generosity, courage, and patronage of scholars. Thus, Diwali became a historical event as well.