Which preposition to use with machinating

for Occurrences 2%

Many are of opinion, that he is secretly machinating for the son of his former patron; but whether he means to govern in the name of the Duke of Orleans, or in that of the republic, it is certain, had the French any liberty to lose, it never could have found a more subtle and dangerous enemy.

against Occurrences 1%

This event revived the hopes of the sect, who once more began to machinate against Michelangelo.

Which preposition to use with  machinating