Complex sentence: In 1789, Haj Ahmed Bach Hamba bought it under the reign of Hammuda ibn Ali and gave it its actual name even if the palace became later a property of French sisters who used it as a school during the French protectorate of Tunisia.
Split into simpler sentences: In 1789, Haj Ahmed Bach Hamba bought it in the reign of Hammuda ibn Ali and gave it its name. The palace later became a property of French sisters who used it as a school during the French protectorate of Tunisia.