he took part as a soldier in the franco prussian war and contracted typhus in the campaign