later he was named commander of the militar school of kazan