Sentence:  Only a few years before his birth on May 18, 1824, in the baronial castle, the tiny but largely autonomous <WSD>knightdom</WSD> had been annexed by Bavaria during the Napoleonic wars. 
Meaning of the word marked with <WSD> tags:  The domain of a knight