candidate: In June 1861 , Monet joined the First Regiment of African Light Cavalry in Algeria for a seven - year commitment , but , two years later , after he had contracted typhoid fever , his aunt intervened to get him out of the army if he agreed to complete an art course at an art school .