Sentence:  Passing through the gate , with towers on either side once <WSD>used</WSD> as prisons , I entered a huge square surrounded by buildings , and on the wall to my right found a general plan of the grounds , with explanations in English for each building . 
Meaning of the word marked with <WSD> tags:  put into service; make work or employ for a particular purpose or for its inherent or natural purpose