After a more than decade-long crisis, beginning with the 1999 coup d'etat and ending with a contested election taking the country to the brink of a renewed civil war, ECOWAS was to wear two hats - playing both peacekeeper and facilitator for the electoral process.