candidate: Following the February Revolution , in 1917 Yudenich was appointed commander of the Caucasus Front , but in May the Russian Provisional Government removed him from command for insubordination , and on the direct orders from Alexander Kerensky , he retired from the army .