capital punishment vs the gallows

capital punishment

noun
  • The practice of putting a person to death as a punishment for a crime. 

the gallows

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