The history of the Cape Colony from 1806 to 1870 spans the period of the history of the Cape Colony during the Cape Frontier Wars, which lasted from 1779 to 1879. The wars were fought between the European colonists and the native Xhosa who, defending their land, fought against European rule.