Complex sentence: When he came back to Ryūkyū, he learned English from Aniya Seiho (安仁屋 政輔), then he was appointed Ikoku Tsūji (異国通詞, the diplomat towards Western countries) in 1844.
Split into simpler sentences: When he came back to Ryūkyū, he learned English from Aniya Seiho (安仁屋 政輔). He was then appointed Ikoku Tsūji (異国通詞, the diplomat towards Western countries) in 1844.