 He cites her influence in his final revision of "On Liberty", which was published shortly after her death.Taylor died in 1858 after developing severe lung congestion, after only seven years of marriage to Mill.Between the years 1865 and 1868 Mill served as Lord Rector of the University of St Andrews.