mohamed abdullahi "farmajo" mohamed (, ; born 11 march 1962) is a somali politician and diplomat. he was the 9th president of somalia from 2017 to 2022. he was prime minister of somalia from november 2010 until june 2011. farmaajo has a close relationship with his prime minister mahdi gulaid. he lost his re-election in 2022.