Though Mpande and Cetshwayo had successfully resisted attempts by the Boers and the British to encroach on their territory, the Anglo-Zulu War of 1879 forced John Dunn to pick sides, and he sided with the British.