Complex sentence: He served in the War of 1812 as an aide-de-camp and afterward served in the Virginia House of Delegates from 1813 to 1816 and again from 1820 to 1823.
Split into simpler sentences: He served in the War of 1812 as an aide-de-camp. Barbour was elected and re-elected to the Virginia House of Delegates, serving from 1813 to 1816 and again from 1820 to 1823.