Why is Turkey investing in Somalia?

Turkey has been helping rebuild Somalia for almost a decade now – a war-torn and famine-ridden African nation. But why?