In clauses like this, the use of who or whom is determined by its function in the clause. Here, it is the subject of the verb climbed, so who is the proper relative pronoun. [ Actually, friend is not the object of the verb of the first clause; it is the object of the preposition by.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.