The military history of South Africa chronicles a vast period and complex events from the dawn of history until the present. It covers civil wars and wars of aggression and self-defence both within and against South Africa. It includes the history of battles fought in the territories of modern South Africa in neighbouring territories, in both world wars, and in modern international conflicts.