detain at Her Majesty's pleasure vs put in chains

detain at Her Majesty's pleasure

put in chains

How often have the words detain at Her Majesty's pleasure and put in chains occurred in a corpus of books? (source: Google Ngram Viewer )