illegally vs wrongfully

illegally

adv
  • In a manner contrary to law. 

wrongfully

adv
  • In a wrongful manner; unjustly. 

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