The following is a timeline of the history of the city of Tunis, Tunisia.
Prior to 13th century
814 BCE - Founding of the Carthaginian Empire
146 BCE – Romans sack Carthage. 737 CE – Ez-Zitouna madrassa founded. 800-909 – Tunis was one of the residences of the Aghlabids dynasty. 863 – Al-Zaytuna Mosque built. 902 – City becomes capital of Ifriqiya. 945 – Kharijite insurgents occupy city. 1159 – Almohads in power; Tunis becomes capital city.
13th–18th centuries
1227 – Abul Hasan ash-Shadhili founds his first zawiya in Tunis. 1229 – Hafsids in power. 1230 – Kasbah Mosque built. 1252 – Al Haoua Mosque built. 1270 – Louis IX of France takes power. 1320 – Bab el Khadra built. 1350 – Bab Saadoun built (approximate date). 1534 – Conquest of Tunis by Hayreddin Barbarossa; Ottomans in power. 1535 Conquest of Tunis by Spanish Empire. Fortress built at La Goulette. 1574 – Conquest of Tunis by Ottomans. 1609 – 80,000 Moriscos arrive in Tunis after expulsion from Spain, the highest number since 1492. 1624 – Soubhan Allah Mosque built (approximate date). 1631 – Youssef Dey Mosque established. 1648 – Ksar Mosque renovated. 1655 – Hammouda Pacha Mosque built. 1685 – Arrival of the first community of Livorno Jews (known as 'Granas') in Tunis 1692 – Sidi Mahrez Mosque built. 1710 – Bab Jazira Mosque built. 1726 – El Jedid Mosque built. 1741 – Ali II ibn Hussein grants a charter to the Livorno Jews (Granas) in Tunis. 1756 – An Algerian army captures Tunis, deposing Abu l-Hasan Ali I and installing Muhammad I ar-Rashid
19th century
1811 – Rebellion. 1813 – Sabkha Mosque restored. 1814 – Saheb Ettabaâ Mosque built. 1818 – Plague strikes Tunis killing up to 50,000 and depopulating the city as people flee. 1819 – Dar Lasram built. 1840 – Military academy founded at Bardo by Ahmed Bey 1857 – Batto Sfez Affair. 1860 – Old city walls demolished. Tunisia's first official printing press established in Tunis. First edition of the Official Gazette of the Republic of Tunisia published. 1872 – Tunis-Goulette-Marsa railway begins operating. 1875 – Sadiki College founded. 1881 – City occupied by French. 1882 – Alaoui Museum dedicated. 1885 – Bibliothèque Francaise established. 1892 – Consulate of France building constructed. 1893 – Canal opens. 1897 – Cathedral of St. Vincent de Paul opens. 1900 – Lycée de la Rue du Pacha founded.