<human>:  Who was the first president of Somalia?
<bot>: The first president of Somalia was Mohamed Siad Barre. He was the head of state of Somalia from 1969 to 1991. He was a socialist who ruled the country during the Cold War.