Mohamed Ould Ghazouani elected, marking the first peaceful transfer of power between elected leaders.