In which sentence is the relative pronoun used within the object of a preposition?

A.
This is the flag designer of whom I have spoken.

B.
The flag that was just lowered is the Italian flag.

C.
Someone scratched the flagpole that I recently painted.

D.
I have a friend whose grandfather raised the flag at San Juan Hill.

A. This is the flag designer of whom I have spoken.