Due to our acquaintance with cave art from the Mesolithic period (see Lascaux, etc), we have a tendency to associate cave paintings with Europe forty thousand years ago. But recent discoveries in South Africa show that a cave wall could remain a handy artistic surface until much more recently.
An illuminating article in the Conversation called “South Africa’s bandit slaves and the rock art of resistance” introduced me to the runaway slaves of early colonial South Africa and the art they created to process their experiences.

“Khoe-San people were forced into servitude as colonists took both land and livestock. Together with immigrant slaves they were the labor force for the colonial project. Desertion was their most common form of rebellion. Runaway slaves escaped into the borderlands and mounted a stiff resistance to the colonial advance from the 1700s until the mid-1800s. In most cases the fugitives joined forces with groups of skelmbasters (mixed outlaws), who themselves were descended from San-, Khoe- and isiNtu-speaking Africans (hunter-gatherers, herders and farmers).
Thus, we find recorded examples of mixed bandit groups hiding out in mountain rock shelters, within striking distance of colonial farms. Using guerrilla-style warfare they raided livestock and guns. In their refuge, they made rock art, images within their own belief systems that relate to escape and retaliation.”
The images can be reliably dated from their content, which includes guns.
“The paintings themselves are also mixed—some brush-painted, some finger-painted—but are united by subject matter pertaining to spiritual beliefs concerning escape and protective power. Certain motifs, including baboons and ostriches, continued to be used, but now appearing alongside motifs such as horses and guns. This suggests some continuity in the recognition of these animals, mystical or otherwise, as subject matter pertinent to people’s changed circumstances.”
The article provides a good overview of the overlay of colonial exploitation on traditional belief systems. It concludes:
“The rock art of bandit groups is bound up with beliefs in the ability to call upon the protection of the supernatural. Baboons and ostriches, painted with images of livestock and people on horseback with firearms, were heralded for their associated powers pertaining to escape and protection while raiding. For these runaway slaves, rock art was one of several crucial ritual observances performed to prevent the likelihood of ever returning to a life of oppression.”