The Berber Arabic alphabet is an Arabic-based alphabet that was used to write various Berber languages in the Middle Ages. Nowadays users have largely reverted to either the Tifinagh alphabet in Morocco, or Berber Latin alphabet in Algeria.