I was thinking about this just the other day, the term "demented" literally means "with mind removed".
...as a tangent, I'm impressed and slightly weirded out by the fact that I googled for "etymology demented" and it answered directly with an etymological tree for the word. Google's getting smarter.