Released from captivity after the end of the First World War , Satar joined the forces of the Turkish National Movement under Mustafa Kemal in Anatolia which fought against the terms of the Allied partitioning of the Ottoman Empire .