He was arrested numerous times by the
Russian authorities for pressing public speeches in defense of national culture and political freedoms in pre-revolutionary period. In March 1917 Yefremov entered the staff of the
Central Rada. In April 1917, at the
Ukrainian National Congress was elected as the deputy of the Head of the
Rada and the member of the
Mala Rada. On June 15, 1917 became the general secretary of the International Affairs in the newly formed Ukrainian government,
General Secretary of the
Ukrainian People's Republic. On July 17, 1917 he was replaced by Oleksandr Shulhyn from the same political party. From September 1917 heads the
Ukrainian Party of Socialists-Federalists. From April 1918 and until 1920 he did not hold any official positions. ==Soviet Ukraine==