They were the first presidential elections since an army coup to overthrow the government and an ethnic Tuareg uprising in the north, later supported by al Qaeda-linked extremists.