<human>:  Who was the first president of Somalia?
<bot>: The first president of Somalia was Mohamed Siad Barre. He ruled Somalia from 1969 to 1991. During his rule, he implemented socialist policies and was the first leader to nationalize all foreign owned companies in the country.