Numidia (202 BC – 40 BC, Berber: Inumiden) was the ancient kingdom of the Numidians located in what is now Algeria and a smaller
part of Tunisia and small part of Libya in the Maghreb. The polity was originally divided between Massylii in the east and
Masaesyli in the west. During the Second Punic War (218–201 BC), Masinissa, king of the Massylii, defeated Syphax of the Masaesyli
to unify Numidia into one kingdom.