 Carthage began to ally with the Berber tribes after the Battle of Himera, in which the Carthaginians were defeated by the Greeks.In addition to political changes, the Carthaginians imported some of the Berber deities.Baal was the primary god worshipped in Carthage.