Former Prime Minister is new President of Somalia