Complex sentence: He made Pangai Ha'apai the first capital of his realm in 1845, then moved the capital to Nukualofa in 1851 (resided in Lifuka from 1845 to 1851).
Split into simpler sentences: He made Pangai Ha'apai the first capital of his realm in 1845. He then moved the capital to Nukualofa in 1851 (resided in Lifuka from 1845 to 1851).