The medina was largely destroyed in the French bombardment of 1907, though several important buildings remain.