This is a grammatical error involving the misuse of a subject pronoun as an object, known as a case error.
People often make this error because "him" is commonly used in everyday speech, and the sentence structure "it was him who" feels natural, though it's grammatically incorrect.
The correct form is "it was he who", using the subjective case "he" because it follows a linking verb.
People often make this error because they are trying to ... Learn more →
People often make this error due to confusion between simple ... Learn more →
People often confuse "key note" with "keynote", as they might ... Learn more →
People often mistakenly combine "follow" and "up" into one word ... Learn more →