Beginning a dependent clause with who, whoever, whom, or whomever Pronoun case in a dependent clause is determined by its function in the clause, no matter how that clause functions in the sentence. Richard feels like a knight who is headed for great adventure. Whomever the party suspected of disloyalty was executed. Though the clause as a whole is the subject of the sentence, the pronoun should be in the objective case. If you are not sure which case to use, try separating the dependent clause from the rest of the sentence and looking at it in isolation.
Some sentences are already correct.
Paula yelled that she would date whoever she wanted to date. If asked whom I think was the greatest American writer of the twentieth century. The elderly woman whom I was asked to take care of was a clever, delightful companion.