do away with vs put to death

do away with

verb
  • To have someone killed. 

  • To abolish; to put an end to; to eliminate. 

put to death

verb
  • To kill as punishment for capital crimes; to execute. 

How often have the words do away with and put to death occurred in a corpus of books? (source: Google Ngram Viewer )