How does the sentence end?

Joseph helped to cure Kevin's disease, so
OPT:
*Joseph was thanked for being a good doctor.;
*Kevin was thanked for being a good doctor.;
Joseph was thanked for being a good doctor.