What was the origin of the war?