Sentence:  [...] and was an artful flatterer, when that was necessary to <WSD>compass</WSD> his end, in which generally he was successful. 
Meaning of the word marked with <WSD> tags:  To accomplish; to reach; to achieve; to obtain.