infringe vs transgress

infringe

verb
  • Break or violate a treaty, a law, a right etc. 

  • Break in or encroach on something. 

transgress

verb
  • To act in violation of some law. 

  • To commit an offense; to sin. 

  • To exceed or overstep some limit or boundary. 

  • To spread over land along a shoreline; to inundate. 

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