Byzantine forces invade the Christian Vandal kingdom in the sixth century; Arab conquests follow in the seventh. By the tenth century, however, local dynasties such as the Fatimid (909–1171) in the eastern Maghrib gain control. Close contacts with Islamic Spain and trans-Saharan trade bring wealth to the region.