From early antiquity, Tunisia was inhabited by the indigenous Berbers. Phoenicians began to arrive in the 12th century BC, establishing several settlements, of which Carthage emerged as the most powerful by the 7th century BC. A major mercantile empire and a military rival of the Roman Republic, Carthage was defeated by the Romans in 146 BC, who occupied Tunisia for most of the next 800 years, introducing Christianity and leaving architectural legacies like the amphitheatre of El Jem. After several attempts starting in 647, Muslims conquered all of Tunisia by 697, bringing Islam and Arab culture to the local inhabitants. The Ottoman Empire established control in 1574 and held sway for over 300 years, until the French conquered Tunisia in 1881. Tunisia gained independence under the leadership of Habib Bourguiba, who declared the Tunisian Republic in 1957. Today, Tunisia is the smallest nation in North Africa, and its culture and identity are rooted in this centuries-long intersection of different cultures and ethnicities.