Sentence:  He survived the use of his reason, grew infatuated, and <WSD>doted</WSD> long before he died. 
Meaning of the word marked with <WSD> tags:  To act in a foolish manner; to be senile.