consequently vs thereby

consequently

adv
  • As a result or consequence of something; subsequently. 

thereby

adv
  • By it; by that; by that means, or as a consequence of that. 

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