The sentence starts with ‘the regent’ which will be followed by Q that shows that something has been discovered by him. Next to follow will be R where the pronoun ‘he’ is used. R will be followed by P that has the usage ‘released’ and it must form a pair with ‘imprisoned’. S further ends the sentence. QRPS is the correct sequence. Hence, (d) is the correct option.