Complex sentence: Sterne wrote it in the summer of 1767 as he neared the end of his life and was also writing "A Sentimental Journey through France and Italy", where Eliza is mentioned several times.
Split into simpler sentences: Sterne wrote it in the summer of 1767 as he neared the end of his life. At that time he was also writing "A Sentimental Journey through France and Italy", where Eliza is mentioned several times.