Iași
Iaşi was the capital of Moldavia from 1568 to 1859.  When World War I happened, Iaşi became the capital of Romania.  This happened when the Central Powers took Bucharest on 6 December 1916.  Bucharest became the capital again when Imperial Germany was defeated.