Which preposition to use with contravention

of Occurrences 33%

She desires intensely to win, and she will not be above shifting a card or two in contravention of the known rules.

to Occurrences 5%

Formerly, while the act dividing Louisiana into two territories was in force in this country, slaves introduced here in contravention to it, were freed by operation of law; but that act was merged in the legislative provisions which were subsequently enacted on the subject of importation of slaves into the United States generally.

against Occurrences 1%

I will go to the gendarme for a contravention against that villain.

Which preposition to use with  contravention