be a party to vs have a hand in

be a party to

have a hand in

verb
  • To contribute to, participate in, or influence. 

How often have the words be a party to and have a hand in occurred in a corpus of books? (source: Google Ngram Viewer )