Complex sentence: Following the war, he was Acting Commissioner of Indian Affairs in 1865, and was appointed Minister Resident to Japan on January 18,1866 and served until November 11,1869.
Split into simpler sentences: Following the war, he was Acting Commissioner of Indian Affairs in 1865. He was appointed Minister Resident to Japan on January 18,1866, and remained on the post until November 11,1869.