human
When did the first lottery take place?
assistant
The first known lottery was held in China in the 6th century BCE. The Chinese were gambling on a game of chance called gui. The Chinese government banned the game in the 6th century CE, but it was still popular among the upper class.