In July 1860, the Bey was persuaded by the British consul, Richard Wood, to allow a British subject named Holt to set up the first official printing press, as well as the first Arabic-language newspaper in the country, the ar-Ra'id at-Tūnisi. A telegraph concession was established, with a French interest taking it up in 1859. On 23 April 1861 he promulgated the first written constitution in the Arab world, separating executive, legislative and judiciary powers, through a new Supreme Council, legislature and court system, thus limiting the powers of the Bey. This constitution guaranteed equality of rights to Muslims, Christians and to Jews; in particular, concerning the right to own property. This created a new legal environment which encouraged Europeans to set up businesses in Tunisia; thus new French traders appeared, along with non-Muslim religious schools. On 26 April 1861, the Bey changed the order of succession to the throne; henceforth it would be the oldest prince in the beylical family who would inherit, rather than the oldest son of the late sovereign. Since the time of Hammouda Pashatwo hundred years before, French interests in Tunisia had been housed in the fondouk des Français, a caravanserai in the medina. Now the Tunisian government had a new French consulate built, on what was to become the Avenue de la Marine, and it was formally opened by the Bey on 12 January 1862. The Bey commissioned the Marseille engineer Colin to repair the Zaghouan aqueduct providing a fresh water supply to the capital. In 1865 he began demolishing the walls around the medina, some of which were so unsound they threatened to collapse. It is during this period that Tunis lost a number of its historic gates - Bab Cartagena, Bab Souika, Bab Bnet and Bab El Jazira. The bronze cannon on the city walls and the fortifications of La Goulette were sold off in 1872. Europeans began to settle near the former Bab el Bhar, in streets close to the old walls and along the Avenue de la Marine, now planted with fig trees. Room for building was limited in nearby areas by European cemeteries, particularly opposite the new consulate building, and by market gardens along the Lake of Tunis which extended as far towards the city as the present Avenue de Carthage. However, intrigues among his ministers, notably Mustapha Khaznadar and Mustapha Ben Ismaïl, constant pressure from European consuls and the looming bankruptcy of the state, provoked the Mejba Revolt of 1864, compelled him to secure debts which he could not repay, and opened the door to foreign occupation despite the efforts of his Grand VizierKheireddine Pacha. France gained an important foothold in Tunisia in 1869 by means of a tripartite Debt Commission, constituted with the United Kingdom and Italy to manage the country's financial commitments to its creditors. In April 1881, a border incident with French Algeria involving raids by Khroumire tribesmen who were subjects of the Bey provided the final pretext for the dispatch of a French expeditionary force which took El Kef, and for the landing of French troops at Bizerte on 1 May. The French army occupied Tunis on 11 May. The Bey was therefore compelled to sign the Treaty of Bardo on 12 May, establishing the French protectorate of Tunisia.
Private life
Muhammad as-Sadiq had several wives. The first was his cousin, the daughter of the Qaid Ahmed al-Munastiri, from a Turkish family which had been influential in the harem of the Beys of Tunis throughout the century; her mother and grandmother were respectively the second wives of Hussein II Bey et Mahmud ibn Muhammad. His second wife was Henani, daughter of Ali Laroussi, a rich merchant dealing in traditional Tunisian chéchia headgear. He also married a CircassianodalisqueLalla Kmar, who was a gift from the Ottoman sultan. His main residence was the Ksar Said palace, built in an Italianate style in front of the Bardo palace. It had been confiscated from the former minister and Keeper of the Seals, Ismail as-Sunni, who was accused of treason and executed in 1867.. It was to one of the first floor staterooms of this palace that, on 12 May 1881, the French consul Théodore Roustan brought the French General to the Bey's privy council to secure his signature on the Treaty of Bardo. In his later years, the Bey fell under the influence Mustapha Ben Ismaïl, and died without issue. He was buried in the Tourbet el Bey mausoleum in the medina of Tunis. He was succeeded by his brother Ali III ibn al-Husayn.
Homosexuality of the bey
According to the historian Nizar Ben Saad, Sadok Bey had many sexual affairs with several male ministers from his court while the most famous one with his Grand Vizir Mustapha Ben Ismail. The intimate meetings of the bey were always held in Dar El Bey at night to avoid being seen but people. Not only that, his marriage was never consummated and Lella Kmar which made it easier for her to marry after his death, his brother Ali Bey.
Descendants
The bey died without leaving any children to inherit the throne. Yet, he was the adoptive father of his nephew Mohamed Naceur, and Jnaina the spouse of his Vizie Ismail Ben Mustapha.