erstwhile vs formerly

erstwhile

adj
  • Former, previous. 

  • Respected, honourable. 

formerly

adv
  • at some time in the past 

  • previously; once 

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