After the February revolution of 1917, he served on several commissions of agriculture and education of the provisional government, including as assistant minister of education.