 During this period , there were two main factions in the Republic of Somalia who provoked an all out war which became known as the <unk> Civil War . One of the factions was led by Ali Mahdi Mohamed , who became president ; and the other , by the warlord Mohammed Farah Aidid . 
