I did it ___ mistake.

I did it ___ mistake.

Explanation

Prepositions are words that are used to show relation of a noun to another element (noun/adjective/verb) in the sentence.

Prepositions of Agency or Instrumentality are used to link a person or thing to the action/activity that it does.