From the ruins of the Ottoman Empire, at a time when almost all of the Islamic world was falling under the dominance of European imperial powers, Mustafa Kemal Atatürk managed not just to preserve but secure Turkey's independence.