Why is Ankara the capital of Turkey, not Istanbul?

I lived my first 18 years in DC and both of those statements are true.

After the British set fire to it during the War of 1812, a motion in Congress to move the capital was only narrowly defeated.