Complex sentence: Due to ill health, he returned to Adelaide in 1863, where he worked as an accountant for the South Australian Railways from 1870 to 1883, when he retired.
Split into simpler sentences: Due to ill health, he returned to Adelaide in 1863. He worked as an accountant for the South Australian Railways between 1870 and 1883, when he retired.