Later it became the palace of the Mamelukes and was a British garrison during WWII.
Before being a palace and a garrison, it was a prison.
mnli hypothesis: Before being a palace and a garrison, it was a prison. premise: Later it became the palace of the Mamelukes and was a British garrison during WWII.