used in place of who, as the object of a verb or preposition, esp a preceding preposition, or less frequently as the object of a verb or of a following preposition
And therefore never send to know for whom the bell tolls — John Donne
[Old English hwām, dative of hwā who]