 After the Khivan Revolution and the expulsion of the monarchy, the Khorezm People's Soviet Republic was formed.Rakhmonov was present when the KPSR was created and participated in the drawing up of the new state.Immediately after the KPSR's formation on the territory of the former Khanate, Rakhmonov was appointed Minister of Education.