As the leader of the Popular Party, in late December 1921 he formed a government where Fan S. Noli was the Minister of Foreign Affairs and Ahmed Zogu was the Minister of Internal Affairs.
Rahvapartei juhina moodustas Ypi detsembri lõpus 1921 valitsuse, kus välisminister oli Fan Noli ja siseminister Ahmed Zogu.