In 1920, with army support, he was elected president of the Grand National Assembly in Ankara in defiance of the Sultan's government in Constantinople.
The army didn't support him in his run for president.