Until December 4, 1922, Ypi was Prime Minister, in 1922 after Noli's resignation he was also acting Minister of Foreign Affairs.
Kuni 4. detsembrini 1922 oli Ypi Albaania peaminister, 1922 pärast Noli tagasiastumist ka välisministri kohusetäitja.