The history of gambling in South Africa shows that ancient populations gambled and Bushman paintings depict gambling activities. When the Dutch settled in the 17th century, the first ban on gambling was established in 1673. Gambling expanded greatly during gold and diamond rushes. Prior to 1996, most gambling was illegal except for horse racing and casinos in former homelands, and the black market was run by criminal groups. In 1996, the new democratic government legalized some forms of gambling so adults could spend money on entertainment of their own choice. There are now licensed casinos and lotteries, though illegal gambling still occurs.