EXERCISE G3–19Pronoun case (who vs. whom)
Example:

Where is the attorney whom you intend to consult?

Where is the attorney who you intend to consult?

The first sentence properly uses whom because it is the object of the infinitive to consult.

For more help, see section G3-d.