When Barbary stags and gazelles became scarce in the Atlas Mountains Barbary lions preyed on herds of livestock that were carefully tended .
The main animals they hunted in the Atlas Mountains were the Barbary stag and the gazelle .