"of which, of whom," c. 1200, from where (in the sense of "in which position or circumstances") + of. Similar formation in Swedish hveraf, Danish hvoraf, Dutch waarvan.
whereas
whereat
whereby
wherefore
wherein
whereof
whereon
whereupon
wherever
wherewith
wherewithal