OB
OA makes no sense since it says "whoever," which means there is no person mentioned
OC refers to the king as a "which" that is grammatically incorrect.
OD says "whomever" also makes no sense since it is also not referring to anyone.
OB is the only reasonable answer :)