Sentence:  For much of the last century, the mountainous region of Swat was ruled as a princely kingdom where a benign autocrat, the <WSD>wali</WSD>, bestowed schools for girls, health care for everyone and the chance to get a degree abroad for the talented. 
Meaning of the word marked with <WSD> tags:  A provincial governor in certain Islamic countries.