lynching vs the gallows

lynching

noun
  • Execution of a person by mob action without due process of law, especially by hanging. 

the gallows

How often have the words lynching and the gallows occurred in a corpus of books? (source: Google Ngram Viewer )