№ Portrait President (Birth–Death) Portrait Vice President Term of office Party 1 Abdullahi Yusuf Ahmed (1934–2012) Mohamed Abdi Hashi[6] 1 August 1998 – 30 June 2001 SSDF – Yusuf Haji Nur (–2019) Acting Vacant 1 July 2001 – 14 November 2001 Independent – Jama Ali Jama (–) Interim Ahmad Mahmud Gunle[7] 14 November 2001 – 8 May 2002 (1) Abdullahi Yusuf Ahmed (1934–2012) Mohamed Abdi Hashi[8] 8 May 2002 – 14 October 2004 2 Mohamed Abdi Hashi (1950s–2020) Interim Mohamed Ali Yusuf (Gaagaab) 14 October 2004 – 8 January 2005 United Somali Party 3 Mohamud Muse Hersi (1937–2017) Hassan Dahir Afqurac[6] 8 January 2005 – 8 January 2009 Independent 4 Abdirahman Farole (1945–) Abdisamad Ali Shire[9] 8 January 2009 – 8 January 2014 Horseed 5 Abdiweli Gaas (1963–) Abdihakim Amey[9] 8 January 2014 – 8 January 2019 UDAD 6 Said Deni (1967–) Ahmed Elmi Osman[10] 8 January 2019 – present Kaah