Complex sentence: He died in Washington, D.C., in 1823, while a clerk in the War Department.
Split into simpler sentences: He died in Washington, D.C., in 1823. At the time, he was a clerk in the War Department.