Although it lost four spots compared with the previous ranking, Rabat remains the 4th smart city in the MENA region and second in Africa, according to the Smart city Index established by the International Institute for management development (IMD).