What years did the war last through?