Which preposition to use with invalidate

by Occurrences 3%

Reprehension is that by means of which the proof adduced by the opposite party is invalidated by arguing, or is disparaged, or is reduced to nothing.

in Occurrences 2%

Sometimes it has happened that a sale has been invalidated in law from some omission of formality.

Which preposition to use with  invalidate