Warning: I'm not english native speaker. I see those all valid, but I would say: He has been poorly treated, so in consequence, he resigned. Take in count that 'had' refers to the past, instead, 'has' refers to the present, thus, you will choose between them basing on if "he has been poorly treated" recently, or long time ago.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.