Occurrence of Attributes in Original Text

The text related to the cultural heritage 'Fort Jesus, Mombasa' has mentioned 'Prison' in the following places:
Occurrence Sentence Text Source
Fort Jesus was captured and recaptured at least nine times between 1631, when the Portuguese lost it to the Sultan Yusuf ibn al-Hasan of Mombasa, and 1895 when it fell under British rule and was converted into a prison.
When the British colonized Kenya, they used it as a prison, until 1958, when they converted it into a historical monument.