In the first half of 1918, he joined the
Azerbaijani National Council and was among the members who proclaimed independence of
Azerbaijan on May 28, 1918. After being elected a deputy to the National Assembly of Azerbaijan from Muslim Socialist Bloc, Pepinov wrote draft laws for the developing press publishing sector. On December 22, 1919, when the fifth government of ADR under the leadership of
Nasib Yusifbeyli was formed, he was appointed the Minister of Agriculture serving until April 1, 1920, when the government dissolved. He played an important part in establishment of
Baku State University in 1919. ==See also==