During Ottoman times the fortress was used as a prison and a treasury.
Before it was a fortress, it was used as a prison and a treasury.
mnli hypothesis: Before it was a fortress, it was used as a prison and a treasury. premise: During Ottoman times the fortress was used as a prison and a treasury.