President Bassirou Diomaye Faye of Senegal has been elected chairman of the Economic Community of West African States (ECOWAS), taking over the leadership of the 15-member regional bloc at a time of deep political divisions, rising insecurity, and growing uncertainty over its future.