Complex sentence: He was relieved from his duties in 1834 and went back to London and stayed there from 1835 to 1838.
Split into simpler sentences: He was relieved from his duties in 1834. He went back to London and stayed there from 1835 to 1838.