Sentence:  Inhabitants of the <WSD>castellany</WSD> of Bytom were classified according to status, ethnicity, and implicitly geographic mobility and recent resettlement. 
Meaning of the word marked with <WSD> tags:  The jurisdiction of a castellan, the district controled by a castle.