1896 brought reforms to the Riga Technical University. Whereas previously, all teaching was conducted in German and Walden was the only professor giving some courses in Russian, from then on, Russian became the official language. This change allowed receiving subsidies from the Russian government and helped the alumni in obtaining positions in Russia. These reforms resulted in another and rather unusual collaboration of Walden with Ostwald: Walden was rebuilding the Chemistry Department and Ostwald has sent the blueprints of the chemical laboratories in Leipzig as an Example. In May 1910, Walden was elected a member of the St. Petersburg Academy of Sciences and in 1911 was invited to Saint Petersburg to lead the Chemical Laboratories of the Academy founded in 1748, by Mikhail Lomonosov. He remained in that position till 1919. As an exception, he was allowed to stay in Riga where he had better research possibilities, but he was traveling, almost every week, by train, to St. Petersburg for the Academy meetings and guidance of research. In the period 1911–1915, Walden published 14 articles in the "Proceedings of the Academy of Sciences" on electrochemistry of nonaqueous solutions. In particular, in 1914 he synthesized the first room-temperature ionic liquid, namely ethylammonium nitrate (C
2H
5)NH
3·NO
3 with the melting point of 12 °C.